Razish / japp

JA++ server and client modification for Jedi Academy
GNU General Public License v2.0
44 stars 30 forks source link

Lua "stack overflow" over time. #438

Closed Charlese2 closed 2 years ago

Charlese2 commented 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. image

image

Razish commented 2 years ago

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).