mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:29:02 +08:00
Added forced re-creation of socket
CURA-1133
This commit is contained in:
parent
174f150ead
commit
dce4fa9479
@ -163,6 +163,7 @@ class CuraEngineBackend(Backend):
|
||||
try:
|
||||
self._process.terminate()
|
||||
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.
|
||||
Logger.log("d", "Exception occured while trying to kill the engine %s", str(e))
|
||||
Logger.log("d", "Engine process is killed")
|
||||
|
Loading…
x
Reference in New Issue
Block a user