From b8a968475529acac2e1fc5db5cb460a82659c127 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sun, 27 Sep 2015 12:15:04 +0200 Subject: [PATCH] ecore_exe: remove infinite loop when killin process Signed-off-by: Cedric BAIL --- 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 -- 2.7.4