summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHyunho Kang <hhstark.kang@samsung.com>2017-03-02 17:08:16 +0900
committerHyunho Kang <hhstark.kang@samsung.com>2017-03-02 17:10:51 +0900
commitad6cc276fe1511c154074fd97a3ff79d3dabd869 (patch)
treeb7cab82053764f90f7c693ad817acd3ad6206670 /src
parentb522a7ceee1dfbf3e5a7f0a5f52ac978f8512e35 (diff)
downloadwidget-service-ad6cc276fe1511c154074fd97a3ff79d3dabd869.tar.gz
widget-service-ad6cc276fe1511c154074fd97a3ff79d3dabd869.tar.bz2
widget-service-ad6cc276fe1511c154074fd97a3ff79d3dabd869.zip
Set NULL for appcom handle
aul_app_com_leave can not guarantee appcom handle is NULL Change-Id: Ia4bc3974eb1784fd0eab55b8928575fc1ed653c2 Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/widget_instance.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widget_instance.c b/src/widget_instance.c
index d80de35..d55eb98 100644
--- a/src/widget_instance.c
+++ b/src/widget_instance.c
@@ -890,11 +890,13 @@ EAPI int widget_instance_fini()
if (conn_viewer) {
if (aul_app_com_leave(conn_viewer) < 0)
_E("failed to leave app com endpoint viewer");
+ conn_viewer = NULL;
}
if (conn_status) {
if (aul_app_com_leave(conn_status) < 0)
_E("failed to leave app com endpoint status");
+ conn_status = NULL;
}
if (viewer_appid) {