Hi Joaquin,

thank you for this hint.

I case of qx.ui.mobile.core.Widget I can support your request.

I will discuss this topic on monday with my team.

Could you please open a bug for this problem?

Greetz Christopher
________________________________________
Von: Joaquín Fernández [[email protected]]
Gesendet: Donnerstag, 1. August 2013 18:54
An: qooxdoo Development
Betreff: [qooxdoo-devel] Disposing objects

Hello

I have found some problems in qooxdoo core when destroying objects.

Some local variables are not been disposed correctly because destruct
method don't exists or not call to this._disposeObjects('__var')

For example, qx.ui.mobile.core.Widget.js in constructor set an array
named this.__children but there is not call to
this._disposeObjects('__children'). May be the children are disposed
correctly but the reference to objects disposed remain in memory
because __children is not setted to null.

I am developing a mobile app and i need to dispose all objects correctly.

Can you check this please? Run this playground with console open.

http://tinyurl.com/qdejkqz

You must see some like this:

000514 qx.core.Init: Load runtime: 513ms
001215 qx.core.Init: Main runtime: 694ms
001296 qx.core.Init: Finalize runtime: 80ms
002135 qx.application.Standalone[494-0]: Starting application 'Hello World' ...
002139 qx.application.Standalone[494-0]: Successfully started.
039711 qx.application.Standalone[494-0]: Starting application 'Hello
World (modified)' ...
039717 qx.ui.mobile.core.Widget[548-0]: Disposing
qx.ui.mobile.core.Widget[548-0]
039718 Missing destruct definition for '__gV' in
qx.ui.mobile.core.Widget[undefined]:
039721 qx.io.request.Xhr[548-0]: Disposing qx.io.request.Xhr[548-0]
039722 Missing destruct definition for '__rv' in
qx.io.request.Xhr[undefined]: [object Object]
039722 Missing destruct definition for '_transport' in
qx.io.request.Xhr[undefined]: [object Object]
039723 Missing destruct definition for '_parser' in
qx.io.request.Xhr[undefined]: [object Object]
039723 qx.application.Standalone[494-0]: Successfully started.

May be a good idea to do this check in qooxdoo tests before uploading to github.

Regards

Joaquin F.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to