mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 07:19:17 +01:00
app/vmagent: fix panic on shutdown when no global deduplication is co… (#6308)
…nfigured Follow-up forf153f54d11
Signed-off-by: hagen1778 <roman@victoriametrics.com> (cherry picked from commit7dc18bf67a
)
This commit is contained in:
parent
45fbcc74e0
commit
8daa1d9505
@ -377,8 +377,10 @@ func Stop() {
|
||||
configReloaderWG.Wait()
|
||||
|
||||
sasGlobal.Load().MustStop()
|
||||
if deduplicatorGlobal != nil {
|
||||
deduplicatorGlobal.MustStop()
|
||||
deduplicatorGlobal = nil
|
||||
}
|
||||
|
||||
for _, rwctx := range rwctxs {
|
||||
rwctx.MustStop()
|
||||
|
Loading…
Reference in New Issue
Block a user