net/dns: close ctx when close dns directManager
Signed-off-by: Asutorufa <16442314+Asutorufa@users.noreply.github.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
1d2af801fa
commit
e20ce7bf0c
@ -403,6 +403,8 @@ func (m *directManager) GetBaseConfig() (OSConfig, error) {
|
||||
}
|
||||
|
||||
func (m *directManager) Close() error {
|
||||
m.ctxClose()
|
||||
|
||||
// We used to keep a file for the tailscale config and symlinked
|
||||
// to it, but then we stopped because /etc/resolv.conf being a
|
||||
// symlink to surprising places breaks snaps and other sandboxing
|
||||
|
Reference in New Issue
Block a user