mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 18:49:01 +08:00
Terminate CuraEngine if it is still running when Cura is closed
CURA-1388
This commit is contained in:
parent
db7777a6e7
commit
3ad65e315f
@ -86,6 +86,11 @@ class CuraEngineBackend(Backend):
|
||||
|
||||
Application.getInstance().getMachineManager().activeMachineInstanceChanged.connect(self._onInstanceChanged)
|
||||
|
||||
def close(self):
|
||||
# Terminate CuraEngine if it is still running at this point
|
||||
self._terminate()
|
||||
super().close()
|
||||
|
||||
## Get the command that is used to call the engine.
|
||||
# This is usefull for debugging and used to actually start the engine
|
||||
# \return list of commands and args / parameters.
|
||||
|
Loading…
x
Reference in New Issue
Block a user