diff --git a/source/vibe/core/core.d b/source/vibe/core/core.d index 0f58e83..8111f43 100644 --- a/source/vibe/core/core.d +++ b/source/vibe/core/core.d @@ -1011,7 +1011,7 @@ struct FileDescriptorEvent { Waitable!(IOCallback, cb => eventDriver.sockets.waitForData(m_socket, cb), - (cb) { assert(false, "timeout not supported."); } + cb => eventDriver.sockets.cancelRead(m_socket) ) readwaiter; asyncAwaitAny!true(timeout, readwaiter);