Bug Tracker

Changes between Version 1 and Version 2 of Ticket #6242, comment 24


Ignore:
Timestamp:
Dec 6, 2010, 8:26:02 PM (12 years ago)
Author:
snover
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6242, comment 24

    v1 v2  
    1 The leak happened because the attached function references the original object via a closure. This causes a circular reference in IE. `jQuery.noop` does not go outside its own private scope and thus is not susceptible to this issue.
     1The leak happened because the attached function references the original object via a closure. This causes a circular reference that IE’s garbage collector does not know how to handle. `jQuery.noop` does not go outside its own private scope and thus is not susceptible to this issue.
    22
    33In my testing, after several tens of thousands of XHR calls, memory usage remained flat in IE6-8 with this fix, whereas it increased by several MB/s when the leak was occurring.