mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Socket is now re-created if terminate is called and there is no engine process
CURA-2158
This commit is contained in:
parent
f9c66526b6
commit
656a56632e
1 changed files with 3 additions and 0 deletions
|
@ -207,6 +207,9 @@ class CuraEngineBackend(Backend):
|
||||||
|
|
||||||
except Exception as e: # terminating a process that is already terminating causes an exception, silently ignore this.
|
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))
|
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
|
## Event handler to call when the job to initiate the slicing process is
|
||||||
# completed.
|
# completed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue