diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index 4236b97fba..59a802045a 100644 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -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.