forked from enlightenment/efl
ecore_exe: remove infinite loop when killin process
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
ee8df155d9
commit
b8a9684755
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue