fixed code
This commit is contained in:
parent
261e8733b2
commit
8711dc78b7
|
@ -86,9 +86,9 @@ public class SecretManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void reset() {
|
public synchronized void reset() {
|
||||||
initialSecretHolder.reset();
|
currentSecretHolder.reset();
|
||||||
if (initialSecretHolder != currentSecretHolder) {
|
if (initialSecretHolder != currentSecretHolder) {
|
||||||
currentSecretHolder.reset();
|
initialSecretHolder.reset();
|
||||||
}
|
}
|
||||||
instance.remove();
|
instance.remove();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue