quickjs-emscripten
quickjs-emscripten copied to clipboard
Clean up functions when disposed
When disposed, delete the function from the internal map and add the function id to a "freelist" that will be re-used for the next function created. Only increment ID if no freelist id is available.
Fixes #223