diff options
author | evanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-10-18 18:33:31 +0000 |
---|---|---|
committer | evanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-10-18 18:33:31 +0000 |
commit | 69fb97aa458a7c1f19b528fc863b1d948125c591 (patch) | |
tree | dad2a230a0bee6b40e02a72af646a3041d221532 /lib | |
parent | 31d93af90038194dd78ab3a8e21cd2bf6501192a (diff) | |
download | unicorn-69fb97aa458a7c1f19b528fc863b1d948125c591.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@683 19e92222-5c0b-0410-8929-a290d50e31e9
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 |