mirror of
https://github.com/jquery/jquery.git
synced 2026-02-07 08:54:55 -05:00
Stopped a memory leak on getScript calls. Fixes #3962.
This commit is contained in:
@@ -267,6 +267,9 @@ jQuery.extend({
|
||||
done = true;
|
||||
success();
|
||||
complete();
|
||||
|
||||
// Handle memory leak in IE
|
||||
script.onload = script.onreadystatechange = null;
|
||||
head.removeChild( script );
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user