quiet-js
quiet-js copied to clipboard
Fully investigate GC issues
It seems that right now Firefox GC is likely collecting the receiver some short time after it is created. This is a regression. I'd like to fully solve these sorts of issues once and for all.
I imagine compiling to wasm might fix this and all other gc issues, since the wasm VM doesn't even support GC yet.
And wasm has it's own VM designed for non-GC languages like C/C++, so your compiled code isn't running in a GC VM at all once compiled to wasm.
wasm would definitely be a better fit. I'm not sure it was really an option when I put this together.
It's worth noting that the GC pause issue I'm seeing here may just be WebAudio pausing and not quiet.js, not sure