mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-22 06:41:51 +00:00
Some of the debug-assertions in the relay are a bit too strict. Specifically, if an allocation times out because it is not refreshed, we also clean-up all channel bindings associated with that allocation. Yet, if an existing channel binding has already been removed earlier, it will no longer be present in the respective map. This isn't an issue at all. We can simply change the debug-assertion to only compare what used to be present in the map. What really matters is that the item we just removed does in fact point to the data that we are expecting. Related: #5355.