mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-28 08:13:11 +00:00
wgengine: properly clean up freebsd routes and interfaces on close
Signed-off-by: wardn <wardn@users.noreply.github.com>
This commit is contained in:
@@ -564,6 +564,7 @@ func (e *userspaceEngine) Close() {
|
||||
e.wgdev.IpcSetOperation(r)
|
||||
e.linkMon.Close()
|
||||
e.router.Close()
|
||||
e.wgdev.Close()
|
||||
e.magicConn.Close()
|
||||
close(e.waitCh)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user