Unregister TIDL stub port when connection is closed 07/290907/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 4 Apr 2023 09:16:17 +0000 (18:16 +0900)
committerTizen AI <ai.tzn.sec@samsung.com>
Wed, 5 Apr 2023 01:46:54 +0000 (10:46 +0900)
commit3da5984f05918108d467f56f3eba214e4e1f7260
treea6ad26d71bbe3379ce6a76b44d9b423bf173f3ba
parent98b772f4324cd5483a346a882ea3c346de60d1a7
Unregister TIDL stub port when connection is closed

- Issue:
Connected event callback is invoked even though the connection is
closed.

- Solution:
Previous code does not invoke unregister method of TIDL stub, so the
connection callback still can be invoked even if the client
succeeds to deinitialize. And this is no intended behavior, so this
patch fixes this behaivor. Through this patch, widget module will
properly call unregister method. And also, widget module will check
first if the stub information is valid.

Change-Id: I1864824237218468b5341eb32c23c17e9f278651
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/vc_widget_tidl.c