Calls sd_notify(STOPPING=1) to ensure systemd's operation 81/219181/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 3 Dec 2019 01:52:33 +0000 (10:52 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 3 Dec 2019 01:52:33 +0000 (10:52 +0900)
Change-Id: I287a8f72156c2f386a8e824f2099abec2757e761
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/main.c

index 2b36245..407cfff 100755 (executable)
@@ -817,6 +817,10 @@ int main(int argc, char *argv[])
 
        g_main_loop_run(event_loop);
 
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+       sd_notify(0, "STOPPING=1");
+#endif
+
        sd_notify(0, "STATUS=Quitting");
 
        g_source_remove(signal);