Modify ↓
Ticket #1697 (closed bug: fixed)
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Fixed in Rev [3578]