mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 21:15:58 +00:00
Make sure the LevelDB is cleanly shutdown.
This commit is contained in:
@@ -79,6 +79,11 @@ void Application::stop()
|
||||
mAuxService.stop();
|
||||
mJobQueue.shutdown();
|
||||
|
||||
#ifdef HAVE_LEVELDB
|
||||
delete mHashNodeDB:
|
||||
mHashNodeDB = NULL;
|
||||
#endif
|
||||
|
||||
cLog(lsINFO) << "Stopped: " << mIOService.stopped();
|
||||
Instance::shutdown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user