Socket is now re-created if terminate is called and there is no engine process

CURA-2158
This commit is contained in:
Jaime van Kessel 2016-08-25 11:44:46 +02:00
parent f9c66526b6
commit 656a56632e

View file

@ -207,6 +207,9 @@ class CuraEngineBackend(Backend):
except Exception as e: # terminating a process that is already terminating causes an exception, silently ignore this.
Logger.log("d", "Exception occurred while trying to kill the engine %s", str(e))
else:
# Process is none, but something did went wrong here. Try and re-create the socket
self._createSocket()
## Event handler to call when the job to initiate the slicing process is
# completed.