Closed Charlese2 closed 2 years ago
Values are pushed to the lua stack without be popped out. This cause the lua stack to keep growing until it reaches the defined max size.
Thanks for prompting me to look into this again, appears to be caused by not popping the return values from lua events (it appears lua_pcall doesn't do that for me :P).
lua_pcall
Values are pushed to the lua stack without be popped out. This cause the lua stack to keep growing until it reaches the defined max size.![image](https://user-images.githubusercontent.com/1207515/151639138-e6ab6d91-ee2b-452a-9f57-825b9ec3825a.png)