ecore_exe: remove infinite loop when killin process

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Vincent Torri 2015-09-27 12:15:04 +02:00 committed by Cedric BAIL
parent ee8df155d9
commit b8a9684755
1 changed files with 2 additions and 2 deletions

View File

@ -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