memory leaks
memory leaks
Hi
Running the following very simple test in 'drip' (http://
www.outofhanwell.com/ieleak/index.php?title=Main_Page), you can see
memory being used but not freed.
I noticed the memory growing on a larger app I was working on, and
decided to investigate further. The memory leak only seems to occur
when the event is bound. If the mousedown() line is commented out, no
memory leak occurs.
I have run the same test on v1.1.4, v1.2, v1.2.1
<div id='fred'>testtesttesttesttest</div>
<script type="text/javascript">
$(document).ready(function(){
$('#fred').css('background-color','#ffffee');
$('#fred').mousedown( function(e) {alert('boo');});
});
</script>
Darren