I met a strange problem in AS3 and thought开发者_Go百科 the problem may be caused by the GC, can I disable GC explicitly in AS3?
Thanks. Bin
i dont think that there is a reference to garbage collection in the program, however you can use the "bugs" in the system to prevent things being cleaned up. if you make a variable that references the object you want to keep safe for example.
why do you think that GC is your problem? it should only take effect when all alues are null, nothing references the object or if it isnt used actively in your code for quite a while. usually the problem is with the lack of gc.
No you cannot disable GC.
You have not told us why you think GC is your problem, but that's almost certainly not the case.
精彩评论