about summary refs log tree commit homepage
path: root/t/oob_gc.ru
diff options
context:
space:
mode:
Diffstat (limited to 't/oob_gc.ru')
-rw-r--r--t/oob_gc.ru3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/oob_gc.ru b/t/oob_gc.ru
index c6035b6..c253540 100644
--- a/t/oob_gc.ru
+++ b/t/oob_gc.ru
@@ -7,8 +7,7 @@ $gc_started = false
 
 # Mock GC.start
 def GC.start
-  ObjectSpace.each_object(BasicSocket) do |x|
-    next if Unicorn::HttpServer::LISTENERS.include?(x)
+  ObjectSpace.each_object(Kgio::Socket) do |x|
     x.closed? or abort "not closed #{x}"
   end
   $gc_started = true