Przemysław Czerpak wrote: > > You may need explicit destructors in .prg code only if you plan to > keep some structures which are not released automatically in harbour > object. If you correctly implement releasing all QT objects by automatic > GC pointer item destructors then you will not need any PRG level > destructors to replicate the same job. >
Instead of all the protections in hbQT's GC pointer items destruction we are still unable to grasp a logic why for some variables behavior is indifferent. I mean we are never sure which another child is destroyed by Qt with its parent and prevent the latter not to be sent to GC engine. > BTW the only one thing which should be introduced yet is an option to > mark GC pointer items as attached to other QT structures so they should > not be released automatically with the HVM item because they will be > released with parent object. > Few days before I had resuested for this feature, though I admit, I could not explain that in as simple language as above of your paragraph. If possible, please do it. ----- enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://n2.nabble.com/Pritpal-and-Vikto-please-test-this-generator-tp4900883p4907702.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