mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
virtinst: connection: Drop is_closed() helper
We have is_open, just use that Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -840,7 +840,7 @@ class vmmConnection(vmmGObject):
|
||||
self._closing = True
|
||||
|
||||
try:
|
||||
if not self._backend.is_closed():
|
||||
if self._backend.is_open():
|
||||
for eid in self._domain_cb_ids:
|
||||
self._backend.domainEventDeregisterAny(eid)
|
||||
for eid in self._network_cb_ids:
|
||||
|
||||
Reference in New Issue
Block a user