如何使用ActionScript 3从内存卸载ByteArray?
我试探着:
// non-working solution no.1
byteArray.length = 0;
byteArray = new ByteArray();
// non-working solution no.2
for ( var i:int=0; i < byteArray.length; i++ )
{
byteArray[i] = null;
}
如何使用ActionScript 3从内存卸载ByteArray?
我试探着:
// non-working solution no.1
byteArray.length = 0;
byteArray = new ByteArray();
// non-working solution no.2
for ( var i:int=0; i < byteArray.length; i++ )
{
byteArray[i] = null;
}
1条答案
按热度按时间55ooxyrt1#
根据官方文件,工作溶液1:清除()()