abalabahaha / opusscript

JS bindings for libopus 1.4, ported with Emscripten
MIT License
62 stars 18 forks source link

fix: export missing _free #23

Closed erox93 closed 9 months ago

erox93 commented 1 year ago

export missing _free in emscript compile

This solves a bug when calling destroy it would crash with _free is undefined error

noxzym commented 11 months ago

is this pr will fix opusscript_native._free is not a function?

sssionek commented 9 months ago

@abalabahaha Could you look into this and perhaps merge? It doesn't seem like a big change and it would fix some bugs for downstream apps (like the one mentioned above).

abalabahaha commented 9 months ago

Sorry, my Emscripten install is currently broken for some reason (need to set up better CI at some point). I'll release this over the weekend.