diff --git a/lib/teeworlds_client.rb b/lib/teeworlds_client.rb index af020b4..5bf4b58 100644 --- a/lib/teeworlds_client.rb +++ b/lib/teeworlds_client.rb @@ -462,6 +462,8 @@ class TeeworldsClient pck = nil rescue IO::EAGAINWaitReadable pck = nil + rescue IO::EWOULDBLOCKWaitReadable # windows + pck = nil end if pck.nil? && @token.nil? @wait_for_token ||= 0