daemon: fix issue where control net bridges were not being removed during shutdown of legacy gui

This commit is contained in:
Blake Harnden 2020-09-24 12:53:02 -07:00
parent 0177b07f03
commit b195891b3b

View file

@ -1293,8 +1293,10 @@ class Session:
shutdown = False
if node_count == 0:
shutdown = True
# shutting down and clearing data for legacy gui
self.set_state(EventTypes.SHUTDOWN_STATE)
# clearing sdt saved data here for legacy gui
self.delete_nodes()
self.distributed.shutdown()
self.sdt.shutdown()
return shutdown