|
@@ -264,9 +264,9 @@ public class Journal implements Closeable {
|
|
*/
|
|
*/
|
|
@Override // Closeable
|
|
@Override // Closeable
|
|
public void close() throws IOException {
|
|
public void close() throws IOException {
|
|
- storage.close();
|
|
|
|
IOUtils.closeStream(committedTxnId);
|
|
IOUtils.closeStream(committedTxnId);
|
|
IOUtils.closeStream(curSegment);
|
|
IOUtils.closeStream(curSegment);
|
|
|
|
+ storage.close();
|
|
}
|
|
}
|
|
|
|
|
|
JNStorage getStorage() {
|
|
JNStorage getStorage() {
|