Cacher stopLock should be unlocked
Kubernetes-commit: 42b01beaca349200cc5c8dbf20e70faa7ae2c27a
This commit is contained in:
parent
e487d10a46
commit
ea4a684350
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue