diff --git a/pkg/storage/cacher.go b/pkg/storage/cacher.go index 27ead5a1d..0f5b4e2ff 100644 --- a/pkg/storage/cacher.go +++ b/pkg/storage/cacher.go @@ -655,7 +655,7 @@ func (c *Cacher) Stop() { } c.stopLock.Lock() if c.stopped { - // avoid that it was locked meanwhile as isStopped only read-locks + c.stopLock.Unlock() return } c.stopped = true