SOLR-1068 followup -- Shutdown the executor in a finally block if it is alive

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@761578 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-04-03 09:12:00 +00:00
parent 6639925275
commit d1e4980f66
1 changed files with 1 additions and 0 deletions

View File

@ -305,6 +305,7 @@ public class SnapPuller {
filesToDownload = filesDownloaded = confFilesDownloaded = confFilesToDownload = null;
replicationStartTime = 0;
fileFetcher = null;
if (fsyncService != null && !fsyncService.isShutdown()) fsyncService.shutdownNow();
fsyncService = null;
stop = false;
fsyncException = null;