mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(connlib): remove outdated assertion due to possibility of network changes (#4222)
found while working on #4163
This commit is contained in:
@@ -961,12 +961,9 @@ impl ChannelBindings {
|
||||
}
|
||||
|
||||
fn handle_failed_binding(&mut self, c: u16) {
|
||||
let Some(channel) = self.inner.remove(&c) else {
|
||||
if self.inner.remove(&c).is_none() {
|
||||
debug_assert!(false, "No channel binding for {c}");
|
||||
return;
|
||||
};
|
||||
|
||||
debug_assert!(!channel.bound, "Channel should not yet be bound")
|
||||
}
|
||||
}
|
||||
|
||||
fn set_confirmed(&mut self, c: u16, now: Instant) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user