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:
parent
2773bc35bf
commit
98ca65f183
|
@ -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.")
|
||||
|
|
Loading…
Reference in New Issue