WebAssembly碰到的问题及解决方案; WebAssembly如果缓冲区大小大于4KB,则不允许在主线程上使用。使用WebAssembly.instantiate。
WebAssembly.Instance is disallowed on the main thread, if the buffer size is larger than 4KB. Use WebAssembly.instantiate.
解决方法:
原创
2022-04-28 14:06:05 ·
3044 阅读 ·
5 评论