summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2016-06-27 09:13:29 (GMT)
committerJiwoong Im <jiwoong.im@samsung.com>2016-06-27 09:18:15 (GMT)
commit0fc7c5020ad9ef80a1a4e0b2b16c8a62ca792950 (patch)
treeb250e702e2aabe0db1eb2a9f1b86a35a3672ed6b
parente2ff68ceca357336c31306bf04f1ff5eb91a4a63 (diff)
downloadui-gadget-1-0fc7c5020ad9ef80a1a4e0b2b16c8a62ca792950.zip
ui-gadget-1-0fc7c5020ad9ef80a1a4e0b2b16c8a62ca792950.tar.gz
ui-gadget-1-0fc7c5020ad9ef80a1a4e0b2b16c8a62ca792950.tar.bz2
destroy ug before duplicated call of ug_createrefs/changes/03/76803/1
Change-Id: I1c940834dd59573b96dd868e2a154d4d3f4b24f0 Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
-rw-r--r--client/ug-client.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/ug-client.c b/client/ug-client.c
index 99a5754..bce7b97 100644
--- a/client/ug-client.c
+++ b/client/ug-client.c
@@ -571,6 +571,11 @@ static int app_reset(bundle *b, void *data)
evas_object_show(ad->win);
}
+ if (ad->ug) {
+ ug_destroy(ad->ug);
+ ad->ug = NULL;
+ }
+
if (ad->data) /* ug-launcher */
app_control_create_event(ad->data, &app_control);
else