From 312018c6ef5a3231c260e4ecdcd4c83588b56479 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Wed, 10 Aug 2011 17:39:53 +0000 Subject: Fix thread-local memory leaks. --- src/main/java/com/amazon/carbonado/repo/map/MapRepository.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/com/amazon/carbonado/repo/map') 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 @@ -89,6 +89,11 @@ class MapRepository extends AbstractRepository return ((MapStorage) storageFor(storableType)).getIndexInfo(); } + @Override + protected void finalize() { + close(); + } + @Override protected Log getLog() { return null; -- cgit v1.2.3