summaryrefslogtreecommitdiff
path: root/rts/win32/AsyncWinIO.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/win32/AsyncWinIO.c')
-rw-r--r--rts/win32/AsyncWinIO.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rts/win32/AsyncWinIO.c b/rts/win32/AsyncWinIO.c
index 19e30fe1d1..6095b745c9 100644
--- a/rts/win32/AsyncWinIO.c
+++ b/rts/win32/AsyncWinIO.c
@@ -308,8 +308,6 @@ void awaitAsyncRequests (bool wait)
timeslice in between. */
if (wait && outstanding_service_requests)
SleepConditionVariableSRW (&threadIOWait, &lock, INFINITE, 0);
- else if (wait && !outstanding_service_requests)
- barf ("asked to wait for I/O but no I/O action is pending.");
ReleaseSRWLockExclusive (&lock);
}