mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-08-16 14:10:22 +03:00
Pull request 2012: 6158-fix-context-filters
Updates #6158. Squashed commit of the following: commit 7d1661c5d7824cd8cd988f8b1d2b1a600aad00ca Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Tue Sep 12 17:26:43 2023 +0300 home: fix context filters
This commit is contained in:
parent
fb332dfc2a
commit
5c6b3ace4a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user