Sorry if this is a dupe. I signed up for the forum but not the mailing list
the first time.
I am writing a fairly large POS-type system to run 24/7 and want to make
sure I have covered all the bases with memory leaks.
I have a few of questions:
1) The "Memory Management" page on the website says:
"be sure to cut all references to the DOM because garbage collection can
not dispose object still connected to the DOM. This is also true for event
listeners for example."
Does this mean I have to manually "removeListener" for every button,
checkbox, etc. that a dialog box uses or are these handled when the widget
is disposed?
2) Is this ok?
this._myContainer = new qx.ui.container.Composite(new qx.ui.layout.Grow())
...
_disposeObjects("_myContainer")
Or do I need:
this._layout=new qx.ui.layout.Grow()
this._myContainer = new qx.ui.container.Composite(this._layout)
...
_disposeObjects("_myContainer","_layout")
3) Should I just assume that every "new" needs a matching "dispose"?
Thanks
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel