diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/std/event/loop.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/event/loop.zig b/lib/std/event/loop.zig index de4a593365..a000820348 100644 --- a/lib/std/event/loop.zig +++ b/lib/std/event/loop.zig @@ -466,8 +466,9 @@ pub const Loop = struct { .revents = undefined, }}; _ = os.poll(&pfd, -1) catch |poll_err| switch (poll_err) { + error.NetworkSubsystemFailed => unreachable, // only possible on windows + error.SystemResources, - error.NetworkSubsystemFailed, error.Unexpected, => { // Even poll() didn't work. The best we can do now is sleep for a |
