mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Minor fix in rocksdb jni library.
Summary: Fix a bug in RocksDBSample.java and minor code improvement in rocksjni.cc. Test Plan: make jni make jtest Reviewers: haobo, sdong Reviewed By: haobo CC: leveldb Differential Revision: https://reviews.facebook.net/D17325
This commit is contained in:
@@ -34,7 +34,9 @@ public class RocksDB implements Closeable {
|
||||
}
|
||||
|
||||
@Override public void close() throws IOException {
|
||||
close0();
|
||||
if (nativeHandle != 0) {
|
||||
close0();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user