(close): Close metadata after the checkpoint.

svn: r7165
This commit is contained in:
Alex Roitman
2006-08-13 00:23:06 +00:00
parent 193a59595d
commit 5b9c033946
2 changed files with 3 additions and 2 deletions

View File

@@ -979,10 +979,10 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback):
if not self.db_is_open:
return
self._close_metadata()
if self.UseTXN:
self.env.txn_checkpoint()
self._close_metadata()
self.name_group.close()
self.surnames.close()
self.id_trans.close()