mirror of https://github.com/apache/lucene.git
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:
parent
6639925275
commit
d1e4980f66
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue