GC工具

Static methods

staticgetRetainCounts ():Int

获取引用数的长度

Returns:

Int

staticrelease (value:Dynamic):Void

对变量进行引用清理,让它可以被回收,但请确保在其他地方没有任何引用

Parameters:

null

value

staticretain (value:Dynamic):Void

对变量进行引用,避免C++回收

Parameters:

null

value