[英]as3 remove defininton from applicationDomain
how to remove defintion from the applicationDomain ! 如何从applicationDomain中删除定义!
In my test I removed all references about one class but the definition is still exist in the applicationDomain, how to remove it, because I think it occupy my memory~ 在我的测试中,我删除了关于一个类的所有引用,但是该定义仍然存在于applicationDomain中,如何删除它,因为我认为它占用了我的内存〜
by the way, I use the Profile tool in flash builder 4.6, after gc the class instance num is 0, but the definition is still exist in the applicationDomain. 顺便说一句,我在Flash Builder 4.6中使用了Profile工具,在gc之后,类实例num为0,但在applicationDomain中仍然存在该定义。
very thanks if anyone can help me ! 非常感谢有人能帮助我!
Once you imported a definition into an application, unfortunately you cannot remove class definition. 将定义导入应用程序后,很遗憾,您无法删除类定义。 I just see two hacks :
我只看到两个技巧:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.