mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Closing a connection now actually stops the updates
CL-541
This commit is contained in:
parent
a9f52c2ad6
commit
fd548975cc
3 changed files with 8 additions and 3 deletions
|
@ -76,8 +76,8 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
|||
else:
|
||||
if self._discovered_devices[key].isConnected():
|
||||
Logger.log("d", "Attempting to close connection with [%s]" % key)
|
||||
self._printers[key].close()
|
||||
self._printers[key].connectionStateChanged.disconnect(self._onDeviceConnectionStateChanged)
|
||||
self._discovered_devices[key].close()
|
||||
self._discovered_devices[key].connectionStateChanged.disconnect(self._onDeviceConnectionStateChanged)
|
||||
|
||||
def _onDeviceConnectionStateChanged(self, key):
|
||||
pass # TODO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue