![]() However blizzard was smart enough to forsee this issue and gave an instruction that if something unsafe like that was happening you could clear all dialog items created and thus clean all the leaks. For example making a million dialog buttons which are invisible could be classed as a leak and may cause performance reductions. However do keep in mind that it can only clean up stuff that has no references to it, so the object will still remain in the case of globals till the global is asigned a different value.Īlso types that are not recycled cause they may still be physically useful will be leak prone. No, variables should not leak in SC2 cause blizzard said this time they actually took time in planning the script language so leaks were near impossible. ![]() The deallocation code probably automatically destroys objects once all references to them are lost, or atleast adds them to a heap to be processed at a later time. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |