Add SIGTERM handler 67/284967/3
authorChanggyu Choi <changyu.choi@samsung.com>
Fri, 2 Dec 2022 01:21:02 +0000 (10:21 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Fri, 2 Dec 2022 01:28:17 +0000 (01:28 +0000)
commit8422a21d2323609df7e84d0486b4f2ee93f31635
tree60152adc594291023c3a745e4b57cd2a59fb3fe2
parentabb03e5f8a4dc38146143e999d1040832fb894e7
Add SIGTERM handler

when the coreclr receives a sigterm, it attempts to forcibly exit without checking the thread status.
As a result, there is a problem that the app-core context disappears before the mainloop.
So a SIGTERM handler is added.

Change-Id: I4baa3a401cbf50ed1e17d8169e48f517a8b73a17
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
tizen-cpp/app-core-cpp/CMakeLists.txt
tizen-cpp/app-core-cpp/app_core_base.cc