This commit is contained in:
Andrea Cavalli 2024-03-30 02:53:11 +01:00
parent 82b2848222
commit 59b8f2ddac

View File

@ -132,6 +132,7 @@ public class EmbeddedDB implements RocksDBSyncAPI, Closeable {
// Wait for 10 seconds
try {
ops.closeAndWait(MAX_TRANSACTION_DURATION_MS);
db.close();
if (path == null) {
Utils.deleteDirectory(db.getPath());
}