more race condition cleanup

This commit is contained in:
Christien Rioux 2024-05-21 14:09:08 -04:00 committed by k8wu
parent fe971fead2
commit 1fa44d62bc

View File

@ -910,6 +910,8 @@ impl Network {
pub async fn shutdown(&self) { pub async fn shutdown(&self) {
log_net!(debug "starting low level network shutdown"); log_net!(debug "starting low level network shutdown");
self.inner.lock().network_started = None;
let routing_table = self.routing_table(); let routing_table = self.routing_table();
// Stop all tasks // Stop all tasks