mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-02-16 18:09:47 +03:00
Close test upstream
This commit is contained in:
parent
451922b858
commit
2e879896ff
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ func checkDNS(input string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
defer u.Close()
|
||||||
|
|
||||||
alive, err := upstream.IsAlive(u)
|
alive, err := upstream.IsAlive(u)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue