prevent segfault when destructing application obj

This commit is contained in:
John Jones 2019-01-14 13:55:13 -05:00 committed by gladcow
parent 225ab3f7f1
commit 485fe97ee2

View file

@ -230,6 +230,9 @@ void database::open(
void database::close(bool rewind)
{
if (!_opened)
return;
// TODO: Save pending tx's on close()
clear_pending();