summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2020-11-10 12:43:04 -0500
committerCole Robinson <crobinso@redhat.com>2020-11-10 17:41:20 -0500
commit98ca65f183401a11bf45d973e0280d45edef22e5 (patch)
treed24d91bd40c49b58dc10b1ff98659949b76ccee3
parent2773bc35bfffc3b28376cf5f50efa7f31f2e637c (diff)
downloadvirt-manager-98ca65f183401a11bf45d973e0280d45edef22e5.tar.gz
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>
-rw-r--r--virtManager/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/connection.py b/virtManager/connection.py
index 84af4565..68a37ea6 100644
--- a/virtManager/connection.py
+++ b/virtManager/connection.py
@@ -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.")