VIVO-869 More formal coordination between startup(), pause(), and unpause().

Fix an oversight where the listener was still starting in paused state.
This commit is contained in:
Jim Blake 2015-02-25 17:38:54 -05:00
parent 5c1944f508
commit 2b83e30866

View file

@ -62,7 +62,7 @@ public class IndexingChangeListener implements ChangeListener,
private final SearchIndexer searchIndexer;
private final Ticker ticker;
private volatile boolean paused = true;
private volatile boolean paused;
private final Model defaultModel;
/** All access to the list must be synchronized. */