[update] delete configuration[c] when stop sync
This commit is contained in:
@@ -560,7 +560,7 @@ class DataServer(SocketServer, DataAPI):
|
||||
# self.spi_reset_ram_header(c._device)
|
||||
self._spi.set_wait_flag(c._device, True)
|
||||
|
||||
self._configurations[d] = None
|
||||
del self._configurations[d]
|
||||
self.log_info('stop_sync', c._device)
|
||||
self.mqtt_thread.broadcast_command('stop:' + str(c._device))
|
||||
# r.append(c)
|
||||
|
||||
Reference in New Issue
Block a user