Crash: popup crash in app_pause state 51/79351/2 accepted/tizen/common/20160711.170849 accepted/tizen/mobile/20160711.090955 accepted/tizen/tv/20160711.091007 accepted/tizen/wearable/20160711.091026 submit/tizen/20160711.082521
authorchangjoo.lee <changjoo.lee@samsung.com>
Sun, 10 Jul 2016 08:30:23 +0000 (17:30 +0900)
committerchangjoo.lee <changjoo.lee@samsung.com>
Mon, 11 Jul 2016 05:12:40 +0000 (14:12 +0900)
Popup crash is casued by tapping home button, when system popup is activated.
It is fixed by initializing popup_list.

Change-Id: I5961d8fb87ab5fc9c4863c14d3a4ba09ff666451
Signed-off-by: changjoo.lee <changjoo.lee@samsung.com>
src/common/core.c

index 47b3fb1..704a10e 100644 (file)
@@ -57,8 +57,10 @@ static void free_obj(gpointer data)
 
 void unregister_all_popup(void)
 {
-       if (popup_list)
+       if (popup_list) {
                g_list_free_full(popup_list, free_obj);
+               popup_list = NULL;
+       }
 }
 
 void terminate_if_no_popup(void)