mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
ooops
This commit is contained in:
parent
fbb259b86b
commit
e7fe6142ba
@ -387,7 +387,7 @@ Voice_wait_for_event(Voice *self, PyObject *args) {
|
|||||||
const HANDLE handles[2] = {self->shutdown_events_thread, self->events_available};
|
const HANDLE handles[2] = {self->shutdown_events_thread, self->events_available};
|
||||||
DWORD ev;
|
DWORD ev;
|
||||||
Py_BEGIN_ALLOW_THREADS;
|
Py_BEGIN_ALLOW_THREADS;
|
||||||
ev = WaitForMultipleObjects(2, handles, true, INFINITE);
|
ev = WaitForMultipleObjects(2, handles, false, INFINITE);
|
||||||
Py_END_ALLOW_THREADS;
|
Py_END_ALLOW_THREADS;
|
||||||
switch (ev) {
|
switch (ev) {
|
||||||
case WAIT_OBJECT_0:
|
case WAIT_OBJECT_0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user