mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06: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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue