Call directly evas_object_del when scan finished 44/77044/1
authorhyunuktak <hyunuk.tak@samsung.com>
Tue, 28 Jun 2016 10:21:40 +0000 (19:21 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Tue, 28 Jun 2016 10:21:43 +0000 (19:21 +0900)
Change-Id: I10eccf9b27c4576f305307ef4e9625966c92a9bb
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
sources/wearable/src/wearable-circle/app_main.c

index 55be13a..7506406 100755 (executable)
@@ -312,7 +312,11 @@ static void __wifi_manager_scan_finished_cb(wifi_manager_object *manager,
        }
 
        app_obj->is_scan_finished = TRUE;
-       popup_scanning_dismiss(app_obj->popup_scanning);
+       if (app_obj->popup_scanning) {
+               popup_scanning_destroy(app_obj->popup_scanning);
+               popup_scanning_free(app_obj->popup_scanning);
+               app_obj->popup_scanning = NULL;
+       }
 
        if (error_code != WIFI_ERROR_NONE) {
                WIFI_LOG_ERR("Wi-Fi Scan failed. error code = %s",