Viktor Szakáts wrote:
> 
> IOW you are replacing crashes with leaks.
> 
> IMO it would be simpler to just never delete any objects...
> 
> Now all these intentional leaks ("persistent objects") 
> will have to be refixed one by one once ever HBQT gets 
> fixed in the proper place. This means another (even 
> lengthier) chain of fixes in the future. Unless all of 
> these current hacks are clearly marked as such in source.
> 

This is exactly what I am doing, locals to class variable.
OR am I missing something from your message?

If I leave them "as is", next time a new object will be 
created and will consume another chunk of memory.
If an object is created once and reused, no harms, 
even if we fix the root issue. This also prevents memory
fregmentation.

BTW there are only couple of dialogs are left which 
are constructed on locals.


-----
                 enjoy hbIDEing...
                    Pritpal Bedi 
_a_student_of_software_analysis_&_design_
-- 
View this message in context: 
http://n2.nabble.com/hbIDE-On-line-documentation-cum-distro-update-tp4812225p4815574.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to