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:
parent
f567469902
commit
5b2668ab27
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue