And the JQuery1.3.2 version does not exist, the jquery1.4+ version exists
By contrast, one of the differences between the two versions was eventually found
Jquery1.4+ adds a piece of code to the Ajax method to invoke the onReadyStateChange method when abort
Copy Code code as follows:
try {
var oldabort = Xhr.abort;
Xhr.abort = function () {
if (XHR) {
Oldabort.call (XHR);
}
onReadyStateChange ();
};
catch (e) {}
After investigation, it is this section of the assignment that produced an error
onReadyStateChange's readystate is 4, that is, when successful, will xhr.abort destroyed
Memory Leak resolution
Another: If the direct xhr.abort=null, do not know why under IE6 will be the error
Have to Try...catch, anyway IE6 not fix error and no problem
The cause of the problem is unknown in the IE8
Could it be that Xhr.abort and Oldabort produced a closure?
But why IE6 not leak?