Worker moved into own module, cleaned up process termination

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

No files matched your search

+2
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):