mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Handle waking up a closed selector in Reactor#add (#3005)
Co-Authored-By: MSP-Greg <MSP-Greg@users.noreply.github.com> Co-authored-by: MSP-Greg <MSP-Greg@users.noreply.github.com>
This commit is contained in:
parent
3d33475dd4
commit
70600bf261
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module Puma
|
|||
@input << client
|
||||
@selector.wakeup
|
||||
true
|
||||
rescue ClosedQueueError
|
||||
rescue ClosedQueueError, IOError # Ignore if selector is already closed
|
||||
false
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue