about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-21 02:45:02 +0000
committerEric Wong <normalperson@yhbt.net>2011-03-21 02:45:02 +0000
commit53fdbda1ba1d88e93d662a040fe4c7fb52810155 (patch)
tree5e5338b80d1c416aec741db0320f8ed6d56e2045 /lib/rainbows.rb
parentc7e75cfe241a621f50c750720c47149a156e8e7f (diff)
downloadrainbows-53fdbda1ba1d88e93d662a040fe4c7fb52810155.tar.gz
No need to obfuscate what it's doing
Diffstat (limited to 'lib/rainbows.rb')
-rw-r--r--lib/rainbows.rb2
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