Hi,

is there a guideline when to override the dispose() method and which objects
need to be disposed there?
When I looked through the qooxdoo framework it seems that anytime an
EventListener is added it is removed again in the dispose() method.

But in qx.core.Target all EventListeners are destroyed automatically when
qx.core.Target.dispose() is called, so it should not be necessary to remove
them explicitly.

I currently override dispose() only, when I have one or more members which
have EventListeners or circular references. Is there anything else I should
take into account?

Regards,
Markus

-- 
View this message in context: 
http://www.nabble.com/override-dispose%28%29-tf3041563.html#a8454598
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to