From 5fc3c815929af673eeb28d4f0f9fad2ffe2379f4 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 30 May 2017 19:12:24 +0900 Subject: [PATCH] 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 --- src/widget_app.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.7.4