Commit 1b34365ca1

Isaac Freund <ifreund@ifreund.xyz>
2020-10-27 21:28:31
std/event: fix poll error set handling
This has been broken since 127fa80
1 parent 7c2bde1
Changed files (1)
lib
std
event
lib/std/event/loop.zig
@@ -467,6 +467,7 @@ pub const Loop = struct {
                     }};
                     _ = os.poll(&pfd, -1) catch |poll_err| switch (poll_err) {
                         error.SystemResources,
+                        error.NetworkSubsystemFailed,
                         error.Unexpected,
                         => {
                             // Even poll() didn't work. The best we can do now is sleep for a