1
0

network: also clear network.path_finder in stop_gossip

stop_gossip should undo start_gossip

related: #7242
This commit is contained in:
SomberNight
2021-04-26 17:06:52 +02:00
parent 04b1e8718a
commit 8bba3b9ef5

View File

@@ -382,6 +382,7 @@ class Network(Logger, NetworkRetryManager[ServerAddr]):
if full_shutdown:
await self.channel_db.stopped_event.wait()
self.channel_db = None
self.path_finder = None
def run_from_another_thread(self, coro, *, timeout=None):
assert self._loop_thread != threading.current_thread(), 'must not be called from network thread'