Dear community,

Please take a look on
https://github.com/qooxdoo/qooxdoo/commit/60feedebb162b85fe15440e5f17c9e4482992a71

As I understand when widget contains control we should use destroy()
if not dispose().
But in code:

if (!Widget.contains(this, control)) {
  control.destroy();
} else {
  control.dispose();
}

Is it correct?


-- 
Best regards,
Dmitry Golubkov.

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to