diff options
author | hyunho <hhstark.kang@samsung.com> | 2018-05-03 18:22:12 +0900 |
---|---|---|
committer | hyunho <hhstark.kang@samsung.com> | 2018-05-03 19:47:02 +0900 |
commit | 10f1f2760f2ecde2c5b63d155bc4dd03e391d532 (patch) | |
tree | 5c27620fa8fef6175fbc9e6b64f5c042062cc643 | |
parent | 14fd8897dec33f47c0a95cf392fc0d95b77bf9ba (diff) | |
download | appcore-widget-10f1f2760f2ecde2c5b63d155bc4dd03e391d532.tar.gz appcore-widget-10f1f2760f2ecde2c5b63d155bc4dd03e391d532.tar.bz2 appcore-widget-10f1f2760f2ecde2c5b63d155bc4dd03e391d532.zip |
Add log for permanant exit
Change-Id: I0f131aead474f70fa6f2931bf4da6305d51c1738
Signed-off-by: hyunho <hhstark.kang@samsung.com>
-rw-r--r-- | src/base/widget_base.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/base/widget_base.c b/src/base/widget_base.c index ce0f63b..e10fc17 100644 --- a/src/base/widget_base.c +++ b/src/base/widget_base.c @@ -776,9 +776,14 @@ static void __multiwindow_exit(void *data) EXPORT_API int widget_base_exit(void) { + int ret; + appcore_multiwindow_base_exit(); - if (appcore_multiwindow_base_instance_get_cnt() != 0 && __is_permanent) - aul_notify_exit(); + if (appcore_multiwindow_base_instance_get_cnt() != 0 && __is_permanent) { + ret = aul_notify_exit(); + aul_widget_write_log(LOG_TAG, "[%s:%d] permanent exit : %d", + __FUNCTION__, __LINE__, ret); + } return 0; } @@ -1525,7 +1530,7 @@ static void __multiwindow_instance_terminate( if (cls->ops.destroy) cls->ops.destroy(instance_h, reason, content_info, class_data); - LOGD("%s is destroyed %d", id, reason); + LOGW("%s is destroyed %d", id, reason); if (reason == WIDGET_BASE_DESTROY_TYPE_PERMANENT) { __is_permanent = true; event = WIDGET_INSTANCE_EVENT_DESTROY; |