Handle abnormal exit 76/131676/5
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 30 May 2017 10:12:24 +0000 (19:12 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 31 May 2017 03:40:32 +0000 (12:40 +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: I2815cc30c51ad538e2069a87b7f405e602c585c4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/widget_app.c

index b059fc2..3840ac2 100755 (executable)
@@ -681,6 +681,8 @@ EXPORT_API int widget_app_exit(void)
        }
 
        appcore_multiwindow_base_exit();
+       aul_widget_notify_exit();
+
        return WIDGET_ERROR_NONE;
 }