mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Be sure to empty the drain the todo before shutting down. Fixes #155
This commit is contained in:
parent
3a4ce8e38d
commit
3726bc4f18
1 changed files with 0 additions and 5 deletions
|
@ -82,11 +82,6 @@ module Puma
|
|||
@waiting += 1
|
||||
cond.wait mutex
|
||||
@waiting -= 1
|
||||
|
||||
if @shutdown
|
||||
continue = false
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
work = todo.pop if continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue