about summary refs log tree commit homepage
path: root/lib/rainbows.rb
diff options
context:
space:
mode:
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