/[thuban]
ViewVC logotype

Revision 1930


Jump to revision: Previous Next
Author: bh
Date: Tue Nov 11 13:24:41 2003 UTC (21 years, 3 months ago)
Changed paths: 1
Log Message:
(SessionLoader.Destroy): New. Clear all
instance variables to cut cyclic references. The GC would have
collected the loader eventually but it can happen that it doesn't
run at all until thuban is closed (2.3 but not 2.2 tries a bit
harder and forces a collection when the interpreter terminates)
(load_session): Call the handler's Destroy method to make sure
that it gets garbage collected early. Otherwise it will be
collected very late if at all and it holds some references to e.g.
shapestores and the session which can lead to leaks (of e.g. the
temporary files)


Changed paths

Path Details
Directorytrunk/thuban/Thuban/Model/load.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26