mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 07:03:02 -06:00
engine: Fix backtrace from manager->exit
This commit is contained in:
parent
591dda6d1e
commit
defdfd4b51
@ -375,6 +375,8 @@ class vmmEngine(vmmGObject):
|
||||
self._systray_is_embedded())
|
||||
|
||||
def _exit_app_if_no_windows(self):
|
||||
if self._exiting:
|
||||
return
|
||||
if self._can_exit():
|
||||
logging.debug("No windows found, requesting app exit")
|
||||
self.exit_app()
|
||||
|
Loading…
Reference in New Issue
Block a user