diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-03-21 02:45:02 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-03-21 02:45:02 +0000 |
commit | 53fdbda1ba1d88e93d662a040fe4c7fb52810155 (patch) | |
tree | 5e5338b80d1c416aec741db0320f8ed6d56e2045 /lib | |
parent | c7e75cfe241a621f50c750720c47149a156e8e7f (diff) | |
download | rainbows-53fdbda1ba1d88e93d662a040fe4c7fb52810155.tar.gz |
No need to obfuscate what it's doing
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rainbows.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb index dac2952..85185d1 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -102,7 +102,7 @@ module Rainbows @alive = false Rainbows::HttpParser.quit @expire = Time.now + (@server.timeout * 2.0) - @server.class.const_get(:LISTENERS).map! { |s| s.close rescue nil }.clear + Unicorn::HttpServer::LISTENERS.each { |s| s.close rescue nil }.clear end false end |