Skip to content

Commit

Permalink
fix: minor fix on storage open failure
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Jan 11, 2024
1 parent 5091b1c commit b66e3cf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,9 @@ public final void open(final OContextConfiguration contextConfiguration) {
}

try {
writeAheadLog.close();
if (writeAheadLog != null) {
writeAheadLog.close();
}
} catch (final Exception ee) {
// ignore
}
Expand Down

0 comments on commit b66e3cf

Please sign in to comment.