[Service] Unset post callbacks 96/272696/3
authorDongHyun Song <dh81.song@samsung.com>
Wed, 23 Mar 2022 00:46:07 +0000 (09:46 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Thu, 31 Mar 2022 01:38:35 +0000 (01:38 +0000)
commit124042b9cc4c28c514d218a1b92e5feb239baf1d
tree8fbda641f7ec7d0547295f58c500544ba5756743
parent87546938930b8d7f30cc3f5a686d019a77ff809f
[Service] Unset post callbacks

Unexpectedly, post callbacks can be fired from webapi worker thread
after its wrt::api::XwalkExtension instance was destroyed.

Thus, this will unset the post callbacks on unloadInstance API.

Related chromium-efl patch:
https://review.tizen.org/gerrit/272695/

Change-Id: I82e5bdfc48bed4b4d208ca6dd485bdffd1c31a0d
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/common/wrt_xwalk_extension.ts