mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 02:09:06 +00:00
fix bugs (#561)
1. if peers disconnected before stop session, may crash at the assert. 2. bind_device flag should take effect on manual connector.
This commit is contained in:
@@ -1739,7 +1739,6 @@ impl RouteSessionManager {
|
||||
continue;
|
||||
}
|
||||
let _ = self.stop_session(*peer_id);
|
||||
assert_ne!(Some(*peer_id), cur_dst_peer_id_to_initiate);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user