I note that in 0.8 the image Preloader code has been replaced by
qx.io2.ImageLoader.

I won't be able to use this for image preloading so shall have to write
my own.

For qooxdoo's purposes it might be a good idea to change the __onload and
__onerror routines so that element.src is set to "" so that you guarantee
to free up memory associated with the image, though this isn't so much of
a problem with full downloading of images.

> I found that if downloading of this image was aborted, FF retained 
> the memory allocated for it. The only way to reclaim the memory was
> to let the image download to completion and then view another image.
> 
> The fix is to ensure that the hidden Image object used for 
> preloading has
> its src property overwritten when disposing of the preloader. See
> http://bugzilla.qooxdoo.org/show_bug.cgi?id=809 for more 
> information.
> 
> I'm doing it at the moment by accessing the _element member of the
> preloader but obviously it should be done in the destructor of
> qx.io.image.Preloader.


Hugh

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to