Explicitly close log in test server

This commit is contained in:
Kovid Goyal 2024-08-26 16:19:53 +05:30
parent aafab9c10b
commit 8185000d0b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -144,6 +144,7 @@ class TestServer(Thread):
self.log.error('Failed to stop server with error:', e)
self.join(self.loop.opts.shutdown_timeout)
self.loop.close_control_connection()
self.log.close()
def connect(self, timeout=None, interface=None):
if timeout is None: