projects
/
platform
/
core
/
appfw
/
appcore-widget.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add log for permanant exit
[platform/core/appfw/appcore-widget.git]
/
src
/
base
/
widget_base.c
diff --git
a/src/base/widget_base.c
b/src/base/widget_base.c
index
ce0f63b
..
e10fc17
100644
(file)
--- 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)
{
EXPORT_API int widget_base_exit(void)
{
+ int ret;
+
appcore_multiwindow_base_exit();
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;
}
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);
if (cls->ops.destroy)
cls->ops.destroy(instance_h, reason, content_info, class_data);
- LOG
D
("%s is destroyed %d", id, reason);
+ LOG
W
("%s is destroyed %d", id, reason);
if (reason == WIDGET_BASE_DESTROY_TYPE_PERMANENT) {
__is_permanent = true;
event = WIDGET_INSTANCE_EVENT_DESTROY;
if (reason == WIDGET_BASE_DESTROY_TYPE_PERMANENT) {
__is_permanent = true;
event = WIDGET_INSTANCE_EVENT_DESTROY;