Hi all,
I met memory leaks in IE6 with SWFObject 2.2.
Reproduciable procedure here:
1.make some pages with flash loaded by swfobject.
2.kill all IE6 then run IE6 with a page that is not contains flash.
3.menu -> open with new window.
4.open 1.'s url.
5.close this page.
Then, you can see Flash10xx.ocx in memory if you can use umdh or some
process
monitor tools.
see definition:
var cleanup = function() {
...
}
It registers an unload event with attachEvent for IE,
but never unregister the closure function itself.
It causes retaining Flash's ocx in memory if you close one of the
window
that opened multiple windows on single process IE6.
I'd try to change that closure to named function and call detachEvent
in the function.
It worked fine for me.
Thanks,
WdWeaver
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---