内存泄漏
摘要:
一、内存泄漏的种类和解决办法a、循环引用 1 <html> 2 <head> 3 <script> 4 var myGlobalObject; 5 function SetupLeak() 6 { // First set up the script scope to element reference 7 myGlobalObject =document.getElementById("LeakedDiv"); 8 // Next set up the element to script scope reference 9 docume 阅读全文
posted @ 2011-10-09 15:00 萌@宇 阅读(236) 评论(0) 推荐(0) 编辑