diff options
Diffstat (limited to 't/oob_gc_path.ru')
-rw-r--r-- | t/oob_gc_path.ru | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/oob_gc_path.ru b/t/oob_gc_path.ru index e936a85..af8e3b9 100644 --- a/t/oob_gc_path.ru +++ b/t/oob_gc_path.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 |