mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Landing pull request 389. Null elements in clone to avoid memory leak in IE. Fixes #9341.
More Details: - https://github.com/jquery/jquery/pull/389 - http://bugs.jquery.com/ticket/9341
This commit is contained in:
parent
408c98fb4b
commit
287156197f
@ -582,6 +582,8 @@ jQuery.extend({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
srcElements = destElements = null;
|
||||||
|
|
||||||
// Return the cloned set
|
// Return the cloned set
|
||||||
return clone;
|
return clone;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user