Added some memory leak protection.

This commit is contained in:
John Resig 2006-07-17 04:57:07 +00:00
parent 2d31381a57
commit a03b3fd3e4

View File

@ -170,8 +170,12 @@ jQuery.extend({
// Process result
if ( ret ) ret(xml);
// Stop memory leaks
xml.onreadystatechange = function(){};
xml = null;
}
}
};
// Send the data
xml.send(data);