Bug Tracker

Modify

Ticket #8287 (closed bug: invalid)

Opened 2 years ago

Last modified 14 months ago

Elminate memory leaks reported by IEJSLeaksDetector.exe

Reported by: ss@… Owned by: ss@…
Priority: undecided Milestone: 1.next
Component: core Version: 1.5
Keywords: Cc:
Blocking: Blocked by:

Description (last modified by jitter) (diff)

The IE leak detector identifies two areas where JQuery apparently fails to remove onload/onunload handlers:

in the bindReady function, replaced window.attachEvent("onload" jQuery.ready) with:

window.attachEvent( "onload", function() {
    window.detachEvent("onload", arguments.callee);
    jQuery.ready();
});

in the // Prevent memory leaks in IE section, before the onunload function close added:

window.detachEvent('onunload', arguments.callee);
window.$ = null;
window.jQuery = null;

Change History

comment:1 Changed 2 years ago by jitter

  • Owner set to ss@…
  • Status changed from new to pending
  • Component changed from unfiled to core
  • Description modified (diff)

I tried a simple page with the exe found  here . Didn't show any leaks for me with 1.5 .

Please submit a reduced test case, which reproduces the issue you are experiencing, on  http://jsfiddle.net. So that we can investigate this issue further. Also make sure to read the link given below, in order to provide a most useful bug report.


 How to report bugs

comment:2 Changed 2 years ago by trac-o-bot

  • Status changed from pending to closed
  • Resolution set to invalid

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

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.