net: Possible IE memory leak with xhr
Reported by Jake Archibald | September 8th, 2009 @ 08:09 AM | in 1.7
http://www.jakearchibald.co.uk/jsperformance/closurememory/2.html
I did some experiments with XHR and turns out IE leaks cross page if onreadystatechange isn't set to an empty function after use. I don't think we do this cleanup, but this needs confirming.
Basically, stick a massive string outside the onreadystatechange listener in glow.net and call glow.net.get/post on an interval and see if memory creeps up (basically a glow-specific version of my test above). If it leaks, plug the leak.
Comments and changes to this ticket
-
Jake Archibald September 22nd, 2009 @ 01:05 PM
- State changed from new to open
- Assigned user set to Jake Archibald
-
Jake Archibald September 25th, 2009 @ 09:28 AM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library