mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
connection: Unconditionally report connection leak
Leaked connection may mean the app keeps libvirtd socket activated daemon running for longer than necessary, so it's useful to report this Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -872,7 +872,7 @@ class vmmConnection(vmmGObject):
|
||||
self._objects = _ObjectList()
|
||||
|
||||
closeret = self._backend.close()
|
||||
if closeret == 1 and self.config.CLITestOptions.leak_debug:
|
||||
if closeret == 1:
|
||||
log.debug( # pragma: no cover
|
||||
"LEAK: conn close() returned 1, "
|
||||
"meaning refs may have leaked.")
|
||||
|
||||
Reference in New Issue
Block a user