Worker moved into own module, cleaned up process termination

This commit is contained in:
Balthasar Reuter
2018-07-16 23:30:14 +02:00
parent bd358030cd
commit 1997a8989f
4 changed files with 10 additions and 16 deletions

View File

@@ -130,6 +130,8 @@ class PyQt5Gui(GuiSkeleton):
if state.target == TeardownEvent.WELCOME:
self._comm.send(Workers.MASTER, GuiEvent('welcome'))
elif state.target in (TeardownEvent.EXIT, TeardownEvent.RESTART):
self._app.exit(0)
def showError(self, state):