forked from M-Labs/thermostat
Use _on_connection_changed(False)
This commit is contained in:
parent
8f31380d52
commit
2d341df23c
@ -464,8 +464,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||
|
||||
@asyncClose
|
||||
async def closeEvent(self, event):
|
||||
await self.stop_report_mode()
|
||||
self.client_watcher.stop_watching()
|
||||
await self._on_connection_changed(False)
|
||||
await self.tec_client.disconnect()
|
||||
|
||||
@asyncSlot()
|
||||
|
Loading…
Reference in New Issue
Block a user