Skip to content

Commit

Permalink
make initialize synchronized
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Jul 25, 2021
1 parent c28ca24 commit 2b84efc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ public ReferenceConfigCache getCache() {
/**
* Initialize
*/
public void initialize() {
public synchronized void initialize() {
if (!initialized.compareAndSet(false, true)) {
return;
}
Expand Down

0 comments on commit 2b84efc

Please sign in to comment.