4145: During book report creation

svn: r20514
This commit is contained in:
Paul Franklin 2012-10-04 00:06:58 +00:00
parent 9cc6722221
commit 92049ddf95

View File

@ -109,6 +109,7 @@ class ReportDialog(ManagedWindow.ManagedWindow):
Close itself. Close itself.
cleanup things that can prevent garbage collection cleanup things that can prevent garbage collection
""" """
if hasattr(self, 'widgets'): # handle pathlogical bug 4145
totwidg = range(len(self.widgets)) totwidg = range(len(self.widgets))
totwidg.reverse() totwidg.reverse()
for ind in totwidg: for ind in totwidg: