diff --git a/internal/home/dns.go b/internal/home/dns.go index 59f3a71e..6ae34944 100644 --- a/internal/home/dns.go +++ b/internal/home/dns.go @@ -494,7 +494,9 @@ func closeDNSServer() { Context.dnsServer = nil } - Context.filters.Close() + if Context.filters != nil { + Context.filters.Close() + } if Context.stats != nil { err := Context.stats.Close()