about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-24 11:47:43 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-24 11:47:43 -0800
commit9e146021e17056976e61d824d228922bf81a4f24 (patch)
tree7a550437dd5513c62c3ad1d766c220a14da7a67f
parent6f6a95b6e3b4f76278cd19b787c8487453dae4d4 (diff)
downloadrainbows-9e146021e17056976e61d824d228922bf81a4f24.tar.gz
No reason to keep it around
-rw-r--r--lib/rainbows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows.rb b/lib/rainbows.rb
index 3a015f9..4fa488e 100644
--- a/lib/rainbows.rb
+++ b/lib/rainbows.rb
@@ -97,7 +97,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 }
+    @server.class.const_get(:LISTENERS).map! { |s| s.close rescue nil }.clear
     false
   end