ajax has got memory leak?
ajax tutorial on w3school at http://www.w3schools.com/ajax/ajax_database.asp
In this function (function GetXmlHttpObject()), it creates a object:
new XMLHttpRequest(); or new ActiveXObject("Microsoft.XMLHTTP");
but it doesn't delete this object after getting respons from se开发者_如何学运维rver.
Are there memory leaks ?
It's ok - Garbage Collection will pick it up for you.
The garbage collector will take care of it once it is no longer referenced.
精彩评论