[Kst] Strange problem using the change data file tool

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Thu Feb 23 17:39:29 CET 2006


>   Ok but we can't commit this.  In some cases some of the 
> loaders will hit pathological memory-consumption cases.  The 
> user will realize the mistake and close the file, but it 
> won't be closed in Kst memory.  The solution could be to keep 
> track of which files we opened in page1, and close all the 
> ones we didn't end up using when Finished.
Right, I had forgotten about the case when there is no filedListFor
function, so that the constructors are called before showPage()... But
what you suggest sounds good, safe and reasonably easy to implement. I
vote for it :-)

Nicolas


More information about the Kst mailing list