Hi Marc,

Thank you for the hint.

But for my use case I need a synchronous dispose. destruct is 
asynchronous, as the object to be disposed is enqueued into the Dispose 
queue:

https://github.com/qooxdoo/qooxdoo/blob/release_3_0_1/framework/source/class/qx/ui/core/Widget.js#L3772


Am 28.11.2013 14:54, schrieb Marc Puts:
> Hi Dietrich,
>
> Have you tried   myWindowInstance.destroy()  ?
>
> As a rule of thumb, when you want to dispose of a descendent of
> qx.ui.core.Widget (which the Window is) you should use .destroy()
> instead of .dispose().
> The difference is that destroy() will also remove the widget from its
> parent and the layouting system.
>
> Regards,
> Marc


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to