diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2011-08-10 17:39:53 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2011-08-10 17:39:53 +0000 |
commit | 312018c6ef5a3231c260e4ecdcd4c83588b56479 (patch) | |
tree | d10da20e9c35ad2b154f3a4f98ba4bf5a09b0e71 /src/main/java/com/amazon/carbonado/repo/map | |
parent | 83d83766e4a82051c440996738f4249a355ca0b6 (diff) |
Fix thread-local memory leaks.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo/map')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/map/MapRepository.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/map/MapRepository.java b/src/main/java/com/amazon/carbonado/repo/map/MapRepository.java index 7fbe16a..ac847f1 100644 --- a/src/main/java/com/amazon/carbonado/repo/map/MapRepository.java +++ b/src/main/java/com/amazon/carbonado/repo/map/MapRepository.java @@ -90,6 +90,11 @@ class MapRepository extends AbstractRepository<MapTransaction> }
@Override
+ protected void finalize() {
+ close();
+ }
+
+ @Override
protected Log getLog() {
return null;
}
|