Open wll8 opened 2 months ago
aardio 文档:
数组含 null 实例输出:
代码:
import console
var array = { "值:1", null, "值:2", "值:4" }
console.dump(array)
import win
win.loopMessage()
输出:
{
[1]="值:1";
[3]="值:2";
[4]="值:4"
}table: 029F4860
Deleted.
同样是中间有 null 的两个数组,为什么第一个数组出现了数据丢失?
起因
排查
在原生代码中
使用 thread
可以重现此问题:在原生代码中
不使用 thread
没有重现此问题:环境