(close): Close metadata after the checkpoint.
svn: r7165
This commit is contained in:
parent
193a59595d
commit
5b9c033946
@ -4,6 +4,7 @@
|
|||||||
2006-08-12 Alex Roitman <shura@gramps-project.org>
|
2006-08-12 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/GrampsDb/_GrampsBSDDB.py: Fix new db creation; make metadata
|
* src/GrampsDb/_GrampsBSDDB.py: Fix new db creation; make metadata
|
||||||
work with UseTXN set either way.
|
work with UseTXN set either way.
|
||||||
|
(close): Close metadata after the checkpoint.
|
||||||
* src/ViewManager.py (_connect_signals): Connect to the proper
|
* src/ViewManager.py (_connect_signals): Connect to the proper
|
||||||
event to cleanly quit on window manager's close action.
|
event to cleanly quit on window manager's close action.
|
||||||
(quit): Allow variable number of args (to work with signals).
|
(quit): Allow variable number of args (to work with signals).
|
||||||
|
@ -979,10 +979,10 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback):
|
|||||||
if not self.db_is_open:
|
if not self.db_is_open:
|
||||||
return
|
return
|
||||||
|
|
||||||
self._close_metadata()
|
|
||||||
|
|
||||||
if self.UseTXN:
|
if self.UseTXN:
|
||||||
self.env.txn_checkpoint()
|
self.env.txn_checkpoint()
|
||||||
|
|
||||||
|
self._close_metadata()
|
||||||
self.name_group.close()
|
self.name_group.close()
|
||||||
self.surnames.close()
|
self.surnames.close()
|
||||||
self.id_trans.close()
|
self.id_trans.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user