Handle abnormal exit 09/131809/2 accepted/tizen/3.0/common/20170602.150629 accepted/tizen/3.0/ivi/20170601.235922 accepted/tizen/3.0/mobile/20170601.235853 accepted/tizen/3.0/tv/20170601.235903 accepted/tizen/3.0/wearable/20170601.235913 submit/tizen_3.0/20170601.004300
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 31 May 2017 04:25:44 +0000 (13:25 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 31 May 2017 04:25:44 +0000 (13:25 +0900)
Whlie calling widget_app_exit(), the widget app sends the normal
termination signal to the amd. If the amd doesn't get the signal when
the widget app is dead, the amd will send the widget fault signal to
the widget viewer.

Requires:
 - https://review.tizen.org/gerrit/#/c/131674/ [aul-1]
 - https://review.tizen.org/gerrit/#/c/131685/ [amd]
 - https://review.tizen.org/gerrit/#/c/131692/ [widget-service]
 - https://review.tizen.org/gerrit/#/c/131695/ [widget-viewer]

Change-Id: I60076b893ef36c8a43e43669746393b7b98b877f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/widget_app.c

index 384f0cd..8790457 100755 (executable)
@@ -1248,6 +1248,7 @@ EXPORT_API int widget_app_exit(void)
        exit_called = 1;
 
        elm_exit();
+       aul_widget_notify_exit();
 
        return WIDGET_ERROR_NONE;
 }