mirror of
https://github.com/apache/lucene.git
synced 2025-02-27 21:09:19 +00:00
Clear infoRegistry before closing searcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@681638 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e25d09c798
commit
670174c87b
@ -566,6 +566,11 @@ public final class SolrCore {
|
||||
*/
|
||||
public void close() {
|
||||
log.info(logid+" CLOSING SolrCore!");
|
||||
try {
|
||||
infoRegistry.clear();
|
||||
} catch (Exception e) {
|
||||
SolrException.log(log, e);
|
||||
}
|
||||
try {
|
||||
closeSearcher();
|
||||
} catch (Exception e) {
|
||||
@ -586,11 +591,6 @@ public final class SolrCore {
|
||||
hook.close( this );
|
||||
}
|
||||
}
|
||||
try {
|
||||
infoRegistry.clear();
|
||||
} catch (Exception e) {
|
||||
SolrException.log(log, e);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isClosed() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user