don't let new merges start after finishMerges when closing

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@776877 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-05-20 21:54:35 +00:00
parent a4c96b1738
commit 0769f8130a
1 changed files with 1 additions and 0 deletions

View File

@ -2069,6 +2069,7 @@ public class IndexWriter {
mergePolicy.close();
finishMerges(waitForMerges);
stopMerges = true;
mergeScheduler.close();