* src/GrampsParser.py: directly delete several maps to free memory

svn: r1933
This commit is contained in:
Don Allingham 2003-07-27 18:36:37 +00:00
parent e398a1d583
commit 171dabddcd

View File

@ -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']