Should shutdown the pool when done

This commit is contained in:
Jesse Boyd 2017-04-11 11:32:43 +10:00
parent 974cb3fdaf
commit 93de075bf8
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -348,6 +348,7 @@ public class MCAQueue extends NMSMappedFaweQueue<FaweQueue, FaweChunk, FaweChunk
});
pool.awaitQuiescence(Long.MAX_VALUE, TimeUnit.MILLISECONDS);
original.close(pool);
pool.shutdown();
if (original != finalFile) finalFile.close(pool);
} else if (mcaFile.isDeleted()) {
try {