Modify aul_app_com_leave function 76/289476/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 8 Mar 2023 10:15:22 +0000 (10:15 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 8 Mar 2023 10:15:22 +0000 (10:15 +0000)
commitaf69f95589ba8b39fa2d87dc3fbd0aed4a735adf
treea9b60d091ed3f001ea8629dba938ace7f9c3b285
parentb141058167f5b4e6da30ac8857c63f27b4ce5dda
Modify aul_app_com_leave function

Some program goes to the sleep state immediately after calling
the aul_app_com_leave() function. In this case, the main thread of the
process will be blocked. It causes increasing memory usage.
To avoid the issue, the aul_app_com_leave() function sends the
APP_COM_LEAVE command to the amd to deregister the event.

Change-Id: Ic3d27b8c4151955094887fea59ed25cda08d2faf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/app_com.cc
test/unit_tests/test_app_com.cc
test/unit_tests/test_launcher_service.cc