Try to fix windows IO::EWOULDBLOCKWaitReadable

This commit is contained in:
ChillerDragon 2023-12-13 19:19:32 +01:00
parent 97de34f151
commit 45bd574908

View file

@ -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