Fix double close issue 15/101815/1 accepted/tizen/3.0/common/20161206.125851 accepted/tizen/3.0/ivi/20161206.000535 accepted/tizen/3.0/mobile/20161206.000432 accepted/tizen/3.0/tv/20161206.000510 accepted/tizen/3.0/wearable/20161206.000525 submit/tizen_3.0/20161205.131352
authorjusung son <jusung07.son@samsung.com>
Fri, 2 Dec 2016 07:33:58 +0000 (16:33 +0900)
committerjusung son <jusung07.son@samsung.com>
Fri, 2 Dec 2016 07:33:58 +0000 (16:33 +0900)
Change-Id: Ia9ecb6d30f7f248bbc57f6147f85fe25959dfe0f
Signed-off-by: jusung son <jusung07.son@samsung.com>
src/message-port.c

index ac97f98..52f87d7 100755 (executable)
@@ -343,11 +343,6 @@ static void on_name_vanished(GDBusConnection *connection,
        pli->exist = false;
        pli->watcher_id = 0;
 
-       _LOGI("name vanished socket : %d", pli->send_sock_fd);
-       if (pli->send_sock_fd > 0) {
-               close(pli->send_sock_fd);
-               pli->send_sock_fd = 0;
-       }
 }
 
 static int __get_local_port_info(int id, message_port_local_port_info_s **info)