+9
−3
Loading
lua.ApiError contains references to the Lua values, it is likely unsafe to return VM error originated from to the pool and then accessing that error. Returned VM might be snatched by another goroutine, resulting in the unwanted concurrent access.