prevent segfault when destructing application obj
This commit is contained in:
parent
225ab3f7f1
commit
485fe97ee2
1 changed files with 3 additions and 0 deletions
|
|
@ -230,6 +230,9 @@ void database::open(
|
|||
|
||||
void database::close(bool rewind)
|
||||
{
|
||||
if (!_opened)
|
||||
return;
|
||||
|
||||
// TODO: Save pending tx's on close()
|
||||
clear_pending();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue