engine: Fix backtrace from manager->exit

This commit is contained in:
Cole Robinson 2018-03-17 18:47:13 -04:00
parent 591dda6d1e
commit defdfd4b51

View File

@ -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()