Skip to content

Commit 2adee00

Browse files
committed
Removing wrong signal queue check in wait()
1 parent 473539b commit 2adee00

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

contrib/win32/win32compat/signal.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,6 @@ wait_for_any_event(HANDLE* events, int num_events, DWORD milli_seconds)
254254
return -1;
255255
}
256256

257-
/* TODO assert that there are no pending signals - signals are only caught during waits*/
258-
if (pending_signals)
259-
DebugBreak();
260-
261257
memcpy(all_events, children.handles, live_children * sizeof(HANDLE));
262258
memcpy(all_events + live_children, events, num_events * sizeof(HANDLE));
263259

0 commit comments

Comments
 (0)