Skip to content

Commit

Permalink
Close the leveldb on stop
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Graves committed Aug 19, 2016
1 parent 8b4ba9d commit 2643d56
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ protected void serviceStop() {
if (blockHandler != null) {
blockHandler.close();
}
if (db != null) {
db.close();
}
} catch (Exception e) {
logger.error("Exception when stopping service", e);
}
Expand Down

0 comments on commit 2643d56

Please sign in to comment.