From 544157c0659663253f5ebbe10300d5b68a758fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Mon, 14 Aug 2017 14:27:09 +0200 Subject: [PATCH] Fix return value for FileDescriptorEvent.wait. --- source/vibe/core/core.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vibe/core/core.d b/source/vibe/core/core.d index 8111f43..0d01aba 100644 --- a/source/vibe/core/core.d +++ b/source/vibe/core/core.d @@ -1016,7 +1016,7 @@ struct FileDescriptorEvent { asyncAwaitAny!true(timeout, readwaiter); - return true; + return !readwaiter.cancelled; } }