Modify sigterm handling method 95/291095/4
authorChanggyu Choi <changyu.choi@samsung.com>
Mon, 10 Apr 2023 01:43:40 +0000 (10:43 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Mon, 10 Apr 2023 04:03:20 +0000 (13:03 +0900)
commit66dfb8ef9631415771d6128fda171bd570e92cb9
treefa71fd47d43aaac2631652fd75507fcabe8b4d78
parent9d0c77865f2621fce5bb11b1ab75ffabb74614bc
Modify sigterm handling method

When handling signals using the signal() API, there can be issues where the previous behavior is not properly finished and interrupted.
This patch switches to using g_unix_signal_add() for safer signal handling.

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