CuraEngineBackend: Removing duplicate close()

close() is already defined in this class. This removes the useless code.
This commit is contained in:
Thomas Karl Pietrowski 2016-06-12 12:46:19 +02:00
parent 49649f4cd8
commit 3df124e3cf

View file

@ -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.