From a328913ca39f508e8f15719a53b3916bc56e8ff0 Mon Sep 17 00:00:00 2001 From: daid Date: Tue, 16 Dec 2014 10:54:12 +0100 Subject: [PATCH] Do not join the thread from the abortEngine function, as this is called from the GUI thread. Possibly fixing the issue bot is having on the UM forums. --- Cura/util/sliceEngine.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index 2678c69f..6425259e 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -265,6 +265,7 @@ class Engine(object): def cleanup(self): self.abortEngine() + self.wait() self._serversocket.close() def abortEngine(self): @@ -273,9 +274,6 @@ class Engine(object): self._process.terminate() except: pass - if self._thread is not None: - self._thread.join() - self._thread = None def wait(self): if self._thread is not None: -- 2.30.2