mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
Fix resolver unfailing bug
This commit is contained in:
parent
dfc1cdeb1c
commit
65a70a8323
1 changed files with 2 additions and 1 deletions
|
@ -240,7 +240,8 @@ func (brc *BasicResolverConn) IsFailing() bool {
|
||||||
// Reset failure status if the network changed since the last query.
|
// Reset failure status if the network changed since the last query.
|
||||||
if brc.networkChangedFlag.IsSet() {
|
if brc.networkChangedFlag.IsSet() {
|
||||||
brc.networkChangedFlag.Refresh()
|
brc.networkChangedFlag.Refresh()
|
||||||
brc.ResetFailure()
|
brc.fails = 0
|
||||||
|
brc.failing.UnSet()
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue