* Close the database before the destructor runs.
This commit is contained in:
parent
fa95f4be3f
commit
d822bf32e4
4 changed files with 15 additions and 0 deletions
|
|
@ -278,6 +278,8 @@ void Database::close()
|
|||
} catch (DbException e) { rethrow(e); }
|
||||
|
||||
delete env;
|
||||
|
||||
env = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue