Fix return value for FileDescriptorEvent.wait.
This commit is contained in:
parent
62ee67091d
commit
544157c065
|
@ -1016,7 +1016,7 @@ struct FileDescriptorEvent {
|
||||||
|
|
||||||
asyncAwaitAny!true(timeout, readwaiter);
|
asyncAwaitAny!true(timeout, readwaiter);
|
||||||
|
|
||||||
return true;
|
return !readwaiter.cancelled;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue