Hello skar,

you guess you mean Object.dispose() and delete? Widget.destroy() removes
this widget from its parent and disposes it.

Object.dispose() removes the object from the object registry and removes all
event listeners on this object and tries to remove as much other references
(DOM) as possible. delete just removes the reference of the object so that
the garbage collector can free the memory this object had used. The entry in
the registry as well as all references will still be there!

Please do always use dispose() if you want to get rid of widgets.

Kind regards
Jonathan

-----
Jonathan Weiß
Framework Engineer

http://mysterycity.de/blog Blog  -  http://www.linkedin.com/in/jonathanrass
LinkedIn  -  http://www.xing.com/profile/Jonathan_Weiss5 XING 
-- 
View this message in context: 
http://n2.nabble.com/what-s-the-difference-between-object-destroy-and-delete-object-tp3822893p3827802.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to