From: Hwankyu Jhun Date: Wed, 31 May 2017 04:25:44 +0000 (+0900) Subject: Handle abnormal exit X-Git-Tag: accepted/tizen/3.0/common/20170602.150629 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2F3.0%2Fcommon%2F20170602.150629;p=platform%2Fcore%2Fappfw%2Fappcore-widget.git Handle abnormal exit 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 --- diff --git a/src/widget_app.c b/src/widget_app.c index 384f0cd..8790457 100755 --- a/src/widget_app.c +++ b/src/widget_app.c @@ -1248,6 +1248,7 @@ EXPORT_API int widget_app_exit(void) exit_called = 1; elm_exit(); + aul_widget_notify_exit(); return WIDGET_ERROR_NONE; }