Hello
I've created quite a big application using qooxdoo. All is OK, but I noticed
that after couple of page reloads the speed goes down... (browser - FF 1.5 on
linux). Well, it seems to be my fault: I didn't use "dispose" at all, but I
always thought that JS has the garbage collector built-in, which will free
the memory and dispose my objects when there are no more links.
Now, I'm reding this list (espesially Hugh's last messages about the memory
usage in FF) and I see that the "dispose" is a must (yes?).
Now my questions:
1. If I call the dispose for parent will it dispose all its children
automatically? Or I should manually dispose children first?
I.e. code is this code enough:
box = new qx.ui.layout.BoxLayout();
btn = new qx.ui.form.Button('Hi!');
box.add(btn);
...........
// or perhaps I should do first: box.remove(btn); btn.dispose();
box.dispose();
2. Where to dispose content previously created in the Application.main ?
Any help would be greatly appreciated
Thanks,
Alexei
-------------------------------------------------------------------------
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