如何ByteArray
使用ActionScript 3 强制从内存中卸载?
我尝试过以下方法:
// First non-working solution
byteArray.length = 0;
byteArray = new ByteArray();
// Second non-working solution
for ( var i:int=0; i < byteArray.length; i++ ) {
byteArray[i] = null;
}
Run Code Online (Sandbox Code Playgroud)