Fix return value for FileDescriptorEvent.wait.

This commit is contained in:
Sönke Ludwig 2017-08-14 14:27:09 +02:00
parent 62ee67091d
commit 544157c065
No known key found for this signature in database
GPG key ID: D95E8DB493EE314C

View file

@ -1016,7 +1016,7 @@ struct FileDescriptorEvent {
asyncAwaitAny!true(timeout, readwaiter);
return true;
return !readwaiter.cancelled;
}
}