Merge pull request #795 from thopiekar/master-removing-duplicate-close-rebase

[master] CuraEngineBackend: Removing duplicate close()
This commit is contained in:
Ghostkeeper 2016-06-13 01:11:30 +02:00 committed by GitHub
commit 8d4528eb62

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.