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:
Mark Robert Miller 2012-02-20 05:09:02 +00:00
parent d4deb86459
commit b64c42c533
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ public class CoreContainer
private volatile boolean isShutDown = false;
private Config cfg;
private volatile Config cfg;
public boolean isShutDown() {
return isShutDown;