ceifa / wasmoon

A real lua 5.4 VM with JS bindings made with webassembly
MIT License
474 stars 29 forks source link

Fixed function memory leak #11

Closed timstableford closed 3 years ago

timstableford commented 3 years ago

Functions were added without being removed so if you passed a function that returned another function on each call there would be leaks. This hooks the functions into Lua's garbage collection system. Also made the WASM be compiled in the actions.

ceifa commented 3 years ago

A great find! 🎉