Fix permanent exit logic 48/177748/2
authorhyunho <hhstark.kang@samsung.com>
Thu, 3 May 2018 09:47:14 +0000 (18:47 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Thu, 3 May 2018 11:01:43 +0000 (11:01 +0000)
Change-Id: I8eacc2f5f3e07a02d868d572992b1b1388c4b8bd
Signed-off-by: hyunho <hhstark.kang@samsung.com>
src/base/widget_base.c

index e10fc17..2d7d29c 100644 (file)
@@ -779,7 +779,7 @@ EXPORT_API int widget_base_exit(void)
        int ret;
 
        appcore_multiwindow_base_exit();
-       if (appcore_multiwindow_base_instance_get_cnt() != 0 && __is_permanent) {
+       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);