From: discomfitor Date: Thu, 19 Jan 2012 07:36:02 +0000 (+0000) Subject: remove use of 'dead' variable from win32 code X-Git-Tag: build/2012-07-04.173327~457 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7723c8a155eddf84d50fddc1217b9031d47291d0;p=profile%2Fivi%2Fecore.git remove use of 'dead' variable from win32 code git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@67319 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_con/ecore_con_local_win32.c b/src/lib/ecore_con/ecore_con_local_win32.c index 858daa5..90f0929 100644 --- a/src/lib/ecore_con/ecore_con_local_win32.c +++ b/src/lib/ecore_con/ecore_con_local_win32.c @@ -77,7 +77,6 @@ _ecore_con_local_win32_server_read_client_handler(void *data, Ecore_Win32_Handle #endif if (!cl->delete_me) ecore_con_event_client_del(cl); - cl->dead = EINA_TRUE; return ECORE_CALLBACK_CANCEL; } @@ -112,7 +111,6 @@ _ecore_con_local_win32_server_peek_client_handler(void *data, Ecore_Win32_Handle #endif if (!cl->host_server->delete_me) ecore_con_event_server_del(cl->host_server); - cl->host_server->dead = EINA_TRUE; return ECORE_CALLBACK_CANCEL; ecore_main_win32_handler_del(wh); @@ -142,7 +140,6 @@ _ecore_con_local_win32_client_peek_server_handler(void *data, Ecore_Win32_Handle #endif if (!svr->delete_me) ecore_con_event_server_del(svr); - svr->dead = EINA_TRUE; return ECORE_CALLBACK_CANCEL; ecore_main_win32_handler_del(wh); @@ -193,7 +190,6 @@ _ecore_con_local_win32_client_read_server_handler(void *data, Ecore_Win32_Handle #endif if (!svr->delete_me) ecore_con_event_server_del(svr); - svr->dead = EINA_TRUE; return ECORE_CALLBACK_CANCEL; } @@ -296,9 +292,6 @@ _ecore_con_local_win32_client_add(void *data, Ecore_Win32_Handler *wh) if (!svr->pipe) return ECORE_CALLBACK_CANCEL; - if (svr->dead) - return ECORE_CALLBACK_CANCEL; - if (svr->delete_me) return ECORE_CALLBACK_CANCEL; @@ -700,7 +693,6 @@ ecore_con_local_win32_server_flush(Ecore_Con_Server *svr) } if (!svr->delete_me) ecore_con_event_server_del(svr); - svr->dead = EINA_TRUE; } svr->write_buf_offset += written; @@ -751,7 +743,6 @@ ecore_con_local_win32_client_flush(Ecore_Con_Client *cl) } if (!cl->delete_me) ecore_con_event_client_del(cl); - cl->dead = EINA_TRUE; } cl->buf_offset += written;