LUCENE-2730: remove sync from TermsHash.abort (causes deadlock on earlier releases)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1029333 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2010-10-31 13:22:12 +00:00
parent 0dd45398cf
commit abffef82c7
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ final class TermsHash extends InvertedDocConsumer {
} }
@Override @Override
synchronized public void abort() { public void abort() {
consumer.abort(); consumer.abort();
if (nextTermsHash != null) if (nextTermsHash != null)
nextTermsHash.abort(); nextTermsHash.abort();