cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b8a968475529acac2e1fc5db5cb460a82659c127

commit b8a968475529acac2e1fc5db5cb460a82659c127
Author: Vincent Torri <vincent dot torri at gmail dot com>
Date:   Sun Sep 27 12:15:04 2015 +0200

    ecore_exe: remove infinite loop when killin process
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/ecore/ecore_exe_win32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore/ecore_exe_win32.c b/src/lib/ecore/ecore_exe_win32.c
index 21ddb71..7c8d90b 100644
--- a/src/lib/ecore/ecore_exe_win32.c
+++ b/src/lib/ecore/ecore_exe_win32.c
@@ -742,7 +742,7 @@ _impl_ecore_exe_interrupt(Ecore_Exe *obj, Ecore_Exe_Data 
*exe)
    CloseHandle(exe->process);
    exe->process = NULL;
    exe->sig = ECORE_EXE_WIN32_SIGINT;
-   while (EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj)) ;
+   EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj);
 }
 
 void
@@ -753,7 +753,7 @@ _impl_ecore_exe_quit(Ecore_Exe *obj, Ecore_Exe_Data *exe)
    CloseHandle(exe->process);
    exe->process = NULL;
    exe->sig = ECORE_EXE_WIN32_SIGQUIT;
-   while (EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj)) ;
+   EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj);
 }
 
 void

-- 


Reply via email to