mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-16 18:21:24 +01:00
When stopping engine, all peer conns have to be closed and for each peer WireGuard iface is called to remove WireGuard peer. This operation happens in a goroutine causing Engine to remove the whole WireGuard interface before. Therefore consequent calls to RemovePeer are unsuccessful. This fix just adds a small delay before removing interface. |
||
---|---|---|
.. | ||
peer | ||
proxy | ||
config.go | ||
connect.go | ||
engine_test.go | ||
engine.go | ||
login.go | ||
state.go |