Try to fix windows IO::EWOULDBLOCKWaitReadable
This commit is contained in:
parent
97de34f151
commit
45bd574908
|
@ -462,6 +462,8 @@ class TeeworldsClient
|
||||||
pck = nil
|
pck = nil
|
||||||
rescue IO::EAGAINWaitReadable
|
rescue IO::EAGAINWaitReadable
|
||||||
pck = nil
|
pck = nil
|
||||||
|
rescue IO::EWOULDBLOCKWaitReadable # windows
|
||||||
|
pck = nil
|
||||||
end
|
end
|
||||||
if pck.nil? && @token.nil?
|
if pck.nil? && @token.nil?
|
||||||
@wait_for_token ||= 0
|
@wait_for_token ||= 0
|
||||||
|
|
Loading…
Reference in a new issue