fixing memory leaks in IE
authorBrandon Aaron <brandon.aaron@gmail.com>
Tue, 21 Apr 2009 18:46:39 +0000 (18:46 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Tue, 21 Apr 2009 18:46:39 +0000 (18:46 +0000)
src/support.js

index 04c3a2a..dc7ad8f 100644 (file)
@@ -89,6 +89,9 @@
                jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
                document.body.removeChild( div ).style.display = 'none';
        });
+
+       // release memory in IE
+       root = script = div = all = a = null;
 })();
 
 jQuery.props = {