std/event: fix poll error set handling
This has been broken since 127fa80
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user