From 3df124e3cfc4a228c10b3543de38312e8b4a14de Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Sun, 12 Jun 2016 12:46:19 +0200 Subject: [PATCH] CuraEngineBackend: Removing duplicate close() close() is already defined in this class. This removes the useless code. --- plugins/CuraEngineBackend/CuraEngineBackend.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index 80f2614e87..9d2addabe8 100644 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -112,9 +112,6 @@ class CuraEngineBackend(Backend): json_path = Resources.getPath(Resources.DefinitionContainers, "fdmprinter.def.json") return [Preferences.getInstance().getValue("backend/location"), "connect", "127.0.0.1:{0}".format(self._port), "-j", json_path, "-vv"] - def close(self): - self._terminate() # Forcefully shutdown the backend. - ## Emitted when we get a message containing print duration and material amount. This also implies the slicing has finished. # \param time The amount of time the print will take. # \param material_amount The amount of material the print will use.