Fix aul_app_event_destroy function 28/279528/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 11 Aug 2022 03:42:32 +0000 (12:42 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 11 Aug 2022 03:43:12 +0000 (12:43 +0900)
commitc7bda395df9f06a3234a978b2e344756da83b7e6
tree1f80289d080332a428956dfce5957a3c8884a6cc
parent9b37dbb4effec8fcc50dc5844e2d4c252224e1b0
Fix aul_app_event_destroy function

If the thread releases the handle using aul_app_event_destroy(), the
main thread will have crashed while invoking the app event callback
function.
To make thread safe, the handle will be released using g_idle_add_full().

Change-Id: I69445c555610668a7adad5c25fddccf908dc7a48
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
aul/api/aul_app_event.cc