Dear Jonathan, > 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. > Ok, will always call on dispose, whenever I don't want an object to linger anymore :)
cheers, skar. -- -- The life so short, the craft so long to learn. ------------------------------------------------------------------------------ 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