mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-20 21:08:45 +01:00
d7b69b91b9
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. |
||
---|---|---|
.. | ||
conn_test.go | ||
conn.go | ||
error_test.go | ||
error.go | ||
status_test.go | ||
status.go |