From b0e2d49a9a2e57e2beedcbabdb246898cbbe3fa9 Mon Sep 17 00:00:00 2001 From: Vitaliy Cherepanov Date: Tue, 20 May 2014 21:00:46 +0400 Subject: [PATCH] [FIX] daemon fail on host disconnection while instrumentation splice fails to disconnected socket Change-Id: Ie8a44a52c81253c80708e1a639c2cdc0a723eb31 Signed-off-by: Vitaliy Cherepanov --- daemon/daemon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/daemon.c b/daemon/daemon.c index 99b23bd..2cbb424 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -748,6 +748,7 @@ static Eina_Bool host_ctrl_cb(void *data, Ecore_Fd_Handler *fd_handler) //close connect_timeoutt and host socket and quit LOGI("Connection closed. Termination. (%d)\n", manager.host.control_socket); + manager.host.data_socket = -1; //splice will fail without that ecore_main_loop_quit(); } else if (result < 0) { LOGE("Control socket handler.\n"); -- 2.7.4