Skip to content
Browse files

Merge pull request #1 from wangscu/patch-1

if bitcaskfile does not close in this function, when bitcask system shut...
  • Loading branch information...
2 parents c3fc65e + c535951 commit d1b0353e9f5e630439a28fdfc41de73c3f3e0179 @krestenkrab committed Dec 4, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/com/trifork/bitcask/BitCask.java
View
3 src/main/java/com/trifork/bitcask/BitCask.java
@@ -237,7 +237,8 @@ public Void each(ByteString key, int tstamp, long entryPos,
return null;
}
}, null);
-
+
+ file.close();
}
}

0 comments on commit d1b0353

Please sign in to comment.
Something went wrong with that request. Please try again.