mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:39:01 +08:00
Force recreating the socket when using external-backend
This may recreate the socket with a new port number but at least it recreates the socket now. Partially fixes CURA-1877
This commit is contained in:
parent
22b6ab9c42
commit
b97b694f41
@ -181,6 +181,11 @@ class CuraEngineBackend(Backend):
|
|||||||
self.slicingCancelled.emit()
|
self.slicingCancelled.emit()
|
||||||
self.processingProgress.emit(0)
|
self.processingProgress.emit(0)
|
||||||
Logger.log("d", "Attempting to kill the engine process")
|
Logger.log("d", "Attempting to kill the engine process")
|
||||||
|
|
||||||
|
if Application.getInstance().getCommandLineOption("external-backend", False):
|
||||||
|
self._createSocket()
|
||||||
|
return
|
||||||
|
|
||||||
if self._process is not None:
|
if self._process is not None:
|
||||||
Logger.log("d", "Killing engine process")
|
Logger.log("d", "Killing engine process")
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user