* src/GrampsParser.py: directly delete several maps to free memory
svn: r1933
This commit is contained in:
parent
ad94f32a9f
commit
f57c7d5f9f
@ -195,8 +195,12 @@ class GrampsParser:
|
|||||||
if self.db.personMap.has_key(id) and self.db.getDefaultPerson() == None:
|
if self.db.personMap.has_key(id) and self.db.getDefaultPerson() == None:
|
||||||
person = self.db.personMap[id]
|
person = self.db.personMap[id]
|
||||||
self.db.setDefaultPerson(person)
|
self.db.setDefaultPerson(person)
|
||||||
|
|
||||||
for key in self.func_map.keys():
|
for key in self.func_map.keys():
|
||||||
del self.func_map[key]
|
del self.func_map[key]
|
||||||
|
del self.func_map
|
||||||
|
del self.func_list
|
||||||
|
del p
|
||||||
|
|
||||||
def start_lds_ord(self,attrs):
|
def start_lds_ord(self,attrs):
|
||||||
type = attrs['type']
|
type = attrs['type']
|
||||||
|
Loading…
Reference in New Issue
Block a user