From: Hwankyu Jhun Date: Tue, 30 May 2017 10:12:24 +0000 (+0900) Subject: Handle abnormal exit X-Git-Tag: accepted/tizen/unified/20170607.063233~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=5fc3c815929af673eeb28d4f0f9fad2ffe2379f4;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: I2815cc30c51ad538e2069a87b7f405e602c585c4 Signed-off-by: Hwankyu Jhun --- diff --git a/src/widget_app.c b/src/widget_app.c index b059fc2..3840ac2 100755 --- a/src/widget_app.c +++ b/src/widget_app.c @@ -681,6 +681,8 @@ EXPORT_API int widget_app_exit(void) } appcore_multiwindow_base_exit(); + aul_widget_notify_exit(); + return WIDGET_ERROR_NONE; }