Skip to content

Commit c2db513

Browse files
committed
Wait for route manager cleanup on tunnel state machine exit
1 parent 19dfbd6 commit c2db513

File tree

1 file changed

+3
-1
lines changed
  • talpid-core/src/tunnel_state_machine

1 file changed

+3
-1
lines changed

talpid-core/src/tunnel_state_machine/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,9 @@ impl TunnelStateMachine {
409409
}
410410
}
411411

412-
log::debug!("Exiting tunnel state machine loop");
412+
log::debug!("Tunnel state machine exited");
413+
414+
runtime.block_on(self.shared_values.route_manager.stop());
413415
}
414416
}
415417

0 commit comments

Comments
 (0)