Using the qx.dev.ObjectSummary.getInfo() does show that qooxdoo thinks that
objects are getting removed from memory, but FireBug and visually looking at
the browser says otherwise (I am using .7.1 right now). I created a simple
object then viewed it in the DOM via FireBug. I then did a dispose() on the
object and qx.dev.ObjectSummary.getInfo() shows it is now gone but inside
FireBug the object is still in the DOM as a full object. If I set the object
to null it then gets set to null in FireBug, but until then it was a full
object in memory. What's up with that?
Jim
On 8/16/07, Ferenczi Viktor <[EMAIL PROTECTED]> wrote:
>
> > will all children's destructors be called when I call method "removeAll"
> > of the parent-widget?
>
> The removeAll method is implemented in the Parent class. The removeAll
> method
> calls the remove method for each child widget. The remove method only
> removes
> the widget from the parent (removes only the association between them),
> but
> does not destroy it immediately.
>
> The object is freed and the destructor is called later during garbage
> collection if no reference left to the widget (Object), since it becomes
> unaccessible from your code.
>
> However the object is not disposed if you keep reference(s) to the object,
> which could cause memory leakage. Be aware of circular references (for
> example: parent->child->parent). Take a look at the destructor of the
> Parent
> class in qooxdoo as an example of best practices.
>
> More information: http://qooxdoo.org/documentation/0.7/destructor_support
>
> Best wishes, Viktor
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel