From ed68f227acb412579346889f6d30182e3c5eb59c Mon Sep 17 00:00:00 2001 From: GJ Date: Fri, 18 Jan 2013 15:28:42 -0500 Subject: [PATCH] Not closing the objectStream here is BAD. --- .../nossr50/util/blockmeta/chunkmeta/HashChunkManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java b/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java index 2ebf954f6..b9e839edf 100755 --- a/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java +++ b/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java @@ -79,6 +79,9 @@ public class HashChunkManager implements ChunkManager { return null; //throw new RuntimeException("Unable to find serialized class for " + x + ", " + z, e); } + finally { + objectStream.close(); + } } @Override