mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Issue #10250: fix resource warnings in test_urllib2_localnet. Patch by Brian Brazil.
This commit is contained in:
@@ -66,6 +66,7 @@ class LoopbackHttpServerThread(threading.Thread):
|
||||
self._stop_server = True
|
||||
|
||||
self.join()
|
||||
self.httpd.server_close()
|
||||
|
||||
def run(self):
|
||||
self.ready.set()
|
||||
|
||||
Reference in New Issue
Block a user