diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mongrel.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/mongrel.rb b/lib/mongrel.rb index 2a805a0..7178ec1 100644 --- a/lib/mongrel.rb +++ b/lib/mongrel.rb @@ -814,11 +814,7 @@ module Mongrel # Stops the acceptor thread and then causes the worker threads to finish # off the request queue before finally exiting. def stop - stopper = Thread.new do - exc = StopServer.new - @acceptor.raise(exc) - end - stopper.priority = 10 + @acceptor.raise(StopServer.new) end end |