mirror of https://github.com/apache/lucene.git
cfg should be volatile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291127 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d4deb86459
commit
b64c42c533
|
@ -473,7 +473,7 @@ public class CoreContainer
|
||||||
|
|
||||||
private volatile boolean isShutDown = false;
|
private volatile boolean isShutDown = false;
|
||||||
|
|
||||||
private Config cfg;
|
private volatile Config cfg;
|
||||||
|
|
||||||
public boolean isShutDown() {
|
public boolean isShutDown() {
|
||||||
return isShutDown;
|
return isShutDown;
|
||||||
|
|
Loading…
Reference in New Issue