aboutsummaryrefslogtreecommitdiffstats
path: root/test/webrick/test_httpserver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/webrick/test_httpserver.rb')
-rw-r--r--test/webrick/test_httpserver.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/webrick/test_httpserver.rb b/test/webrick/test_httpserver.rb
index 5adf617fa5..5aa94637ba 100644
--- a/test/webrick/test_httpserver.rb
+++ b/test/webrick/test_httpserver.rb
@@ -12,6 +12,11 @@ class TestWEBrickHTTPServer < Test::Unit::TestCase
end
NoLog = WEBrick::Log.new(empty_log, WEBrick::BasicLog::WARN)
+ def teardown
+ WEBrick::Utils::TimeoutHandler.terminate
+ super
+ end
+
def test_mount
httpd = WEBrick::HTTPServer.new(
:Logger => NoLog,