summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2015-09-27 12:15:04 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-10-12 17:21:59 -0700
commitb8a968475529acac2e1fc5db5cb460a82659c127 (patch)
tree8cbc4861b6ceea2252760b04d68e4e3e8138923a /src/lib
parentee8df155d97830b149f4f972a253a67bfeab00bd (diff)
ecore_exe: remove infinite loop when killin process
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore/ecore_exe_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore_exe_win32.c b/src/lib/ecore/ecore_exe_win32.c
index 21ddb71681..7c8d90b338 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)
742 CloseHandle(exe->process); 742 CloseHandle(exe->process);
743 exe->process = NULL; 743 exe->process = NULL;
744 exe->sig = ECORE_EXE_WIN32_SIGINT; 744 exe->sig = ECORE_EXE_WIN32_SIGINT;
745 while (EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj)) ; 745 EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj);
746} 746}
747 747
748void 748void
@@ -753,7 +753,7 @@ _impl_ecore_exe_quit(Ecore_Exe *obj, Ecore_Exe_Data *exe)
753 CloseHandle(exe->process); 753 CloseHandle(exe->process);
754 exe->process = NULL; 754 exe->process = NULL;
755 exe->sig = ECORE_EXE_WIN32_SIGQUIT; 755 exe->sig = ECORE_EXE_WIN32_SIGQUIT;
756 while (EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj)) ; 756 EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj);
757} 757}
758 758
759void 759void