Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit d1b0353e9f5e630439a28fdfc41de73c3f3e0179 2 parents c3fc65e + c535951
@krestenkrab authored
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();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.