mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
[client] Fix race dns cleanup race condition (#3652)
This commit is contained in:
@@ -467,6 +467,11 @@ func (s *DefaultServer) applyHostConfig() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// prevent reapplying config if we're shutting down
|
||||||
|
if s.ctx.Err() != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
config := s.currentConfig
|
config := s.currentConfig
|
||||||
|
|
||||||
existingDomains := make(map[string]struct{})
|
existingDomains := make(map[string]struct{})
|
||||||
|
|||||||
Reference in New Issue
Block a user