Bug Tracker

Modify

Ticket #1697 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

Memory leak in IE6

Reported by: davojan Owned by:
Priority: critical Milestone: 1.2.2
Component: event Version: 1.2.1
Keywords: leak Cc:
Blocking: Blocked by:

Description

When binding simple function to element we have a memory leak in IE6 (when refresh page you see how memory leaks). Here is a realy simple code sample:

<html>
<head>
	<title>Memory leak</title>
	<script src="/js/jquery/jquery.js" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
	$(document).ready( onReady );
	
	function onReady() {
		$('#top').click( myClick );
	}
	
	function myClick( jEvt ) {
		$( jEvt.target ).html( Math.random() );
	}
</script>

<div id="top">ddd</div>

</body>
</html>

Change History

comment:1 Changed 6 years ago by brandon

  • Status changed from new to closed
  • Version changed from 1.2 to 1.2.1
  • Resolution set to fixed

Fixed in Rev [3578]

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.