SOLR-844: avoid NPE

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@773175 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Koji Sekiguchi 2009-05-09 07:55:59 +00:00
parent 79414d2b72
commit dbf0a31380
1 changed files with 2 additions and 1 deletions

View File

@ -311,6 +311,7 @@ public class LBHttpSolrServer extends SolrServer {
protected void finalize() throws Throwable {
try {
if(this.aliveCheckExecutor!=null)
this.aliveCheckExecutor.shutdownNow();
} finally {
super.finalize();