Refactor app_signal.cc 93/286093/6
authorChanggyu Choi <changyu.choi@samsung.com>
Tue, 27 Dec 2022 11:12:30 +0000 (20:12 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Wed, 28 Dec 2022 02:55:35 +0000 (11:55 +0900)
commit2c12c07206d585a96649c8bb7225f4f3491a37ee
treeb2d3adbf72ae95c686eae943c4988e778da52836
parent4724b28c2759064d9c5ebb7b37838353c1de3909
Refactor app_signal.cc

This is for the multi threading environment.
If some sub-threads unsubscribe the event, there is room for problems due to race condition.
This patch is changed to maintain the Event object without destruction after creation.

Change-Id: Ieefca296875c14e33d195d2809bc5134485915a5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/app_signal.cc