mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
iotests/147: ensure temporary sockets are closed before exiting
This avoids the python resource leak detector from issuing warnings in the iotests. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
committed by
John Snow
parent
6ccb48ffc1
commit
d4d0ebfcc9
@@ -277,6 +277,7 @@ class BuiltinNBD(NBDBlockdevAddBase):
|
||||
} }
|
||||
self.client_test(filename, flatten_sock_addr(address), 'nbd-export')
|
||||
|
||||
sockfd.close()
|
||||
self._server_down()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user