mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Added forced re-creation of socket
CURA-1133
This commit is contained in:
parent
174f150ead
commit
dce4fa9479
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ class CuraEngineBackend(Backend):
|
||||||
try:
|
try:
|
||||||
self._process.terminate()
|
self._process.terminate()
|
||||||
self._process = None
|
self._process = None
|
||||||
|
self._createSocket() # Re create the socket
|
||||||
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 occured while trying to kill the engine %s", str(e))
|
Logger.log("d", "Exception occured while trying to kill the engine %s", str(e))
|
||||||
Logger.log("d", "Engine process is killed")
|
Logger.log("d", "Engine process is killed")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue