Brian Wang
Brian Wang
pls see TypeArray support at https://github.com/buke/quickjs-go/pull/457
I'm going to close this issue. If there are any problems, please feel free to reopen it.
yeah, I track the code ,it will hanging forever in https://github.com/buke/quickjs-go/blob/1189365c62de07db3a85015132ab467600e38b18/bridge.c#L587 it seems quicks C js_std_await function loop for ever, maybe should report to https://github.com/bellard/quickjs
请注意 quickjs context 并非线程安全,你需要在每次请求创建新的 runtime 和 context,更好的做法是使用线程池,需要时从池中取~
建议是排除法吧, 1,先不要用工作池,尝试每次请求新建 runtime & context,看看是否还有报错 2,工作池参考 https://github.com/vijayviji/executor 改一个吧,我自己使用没什么问题,参考代码如下 ``` go package engine import ( "fmt" "runtime" "strconv" "sync/atomic" "github.com/project-oryon/oryon/logger" ) type TaskStatus int const ( // TaskNotStarted - Task not...