diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/spi')
-rw-r--r-- | src/main/java/com/amazon/carbonado/spi/AbstractRepository.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/spi/AbstractRepository.java b/src/main/java/com/amazon/carbonado/spi/AbstractRepository.java index c37f2c4..8a9a0cc 100644 --- a/src/main/java/com/amazon/carbonado/spi/AbstractRepository.java +++ b/src/main/java/com/amazon/carbonado/spi/AbstractRepository.java @@ -321,6 +321,8 @@ public abstract class AbstractRepository<Txn> doShutdown(repository, suspendThreads);
} finally {
repository.mHasShutdown = true;
+ repository.mStoragePool.clear();
+ repository.mSequencePool.clear();
mRepository.clear();
repository.info("Closed repository \"" + repository.getName() + '"');
}
|