I'm using Qx 0.6.2-pre (r4314).
I am trying to dispose() of "closed" qx.ui.window.Window instances so that I can minimise the browser's memory usage.
I invoke dispose() at the end of qx.ui.window.Window._onclosebuttonclick().
With this change, clicking the close button hide()s the window as usual, but does not seem to be cleanly disposed (no memory appears to be freed). The following message appear on the logging console:
qx.ui.form.Button[227]
007063: Could not dispatch event of type "mouseup": TypeError - 'this._states' is null or not an object (#-2146823281)
qx.theme.appearance.DefaultAppearanceTheme[7]
007063: Couldn't apply state appearance: TypeError - 'abandoned' is null or not an object (#-2146823281)
007063: Couldn't apply state appearance: TypeError - 'pressed' is null or not an object (#-2146823281)
007063: Couldn't apply state appearance: TypeError - 'maximized' is null or not an object (#-2146823281)
007063: Couldn't apply state appearance: TypeError - 'active' is null or not an object (#-2146823281)
Does anyone know why these errors occur? Is there a clean way to dispose of qx.ui.window.Window instances?
Thanks,
Simon
On Yahoo!7
Caller tones: Replace your ring tone with your favourite sound clip!
------------------------------------------------------------------------- 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 qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel