1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

More more jruby bits

This commit is contained in:
Evan Phoenix 2019-02-20 21:23:54 -08:00
parent f567469902
commit 5b2668ab27

View file

@ -190,7 +190,12 @@ module Puma
false
else
submon.value.close
selector.deregister submon.value
begin
selector.deregister submon.value
rescue IOError
# nio4r on jruby seems to throw an IOError here if the IO is closed, so
# we need to swallow it.
end
true
end
end