fix MrEd Windows handle-block problem (PR 10183)
svn: r14467
This commit is contained in:
parent
a6c7b6399a
commit
a1cc8d30a1
|
@ -931,6 +931,8 @@ void MrEdMSWSleep(float secs, void *fds)
|
||||||
if (rps[result])
|
if (rps[result])
|
||||||
ReleaseSemaphore(handles[result], 1, NULL);
|
ReleaseSemaphore(handles[result], 1, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
scheme_collapse_win_fd(fds); /* cleans up */
|
||||||
} else if (wxTheApp->keep_going) {
|
} else if (wxTheApp->keep_going) {
|
||||||
MsgWaitForMultipleObjects(0, NULL, FALSE,
|
MsgWaitForMultipleObjects(0, NULL, FALSE,
|
||||||
secs ? msecs : INFINITE,
|
secs ? msecs : INFINITE,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user