mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Terminate CuraEngine if it is still running when Cura is closed
CURA-1388
This commit is contained in:
parent
db7777a6e7
commit
3ad65e315f
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue