-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix AUDIO_WORKLET + MODULARIZE #21958
Conversation
Verified fix using interactive tests |
8764110
to
a36f43c
Compare
Can you please explain why renaming this makes a difference? I can't figure it out. |
@kripken Looks like the key is adding emscripten/src/audio_worklet.js Line 164 in a36f43c
|
LGTM, but has there been a semantics change to how MODULARIZE works? The |
With There was a semantic change back in #21775 where the argument passed into the module constructor was not modified in-place.. this avoids leaking the module before the promise resolves. |
Sorry the rename is unrelated. I will revert that. |
fb2b5f9
to
fd3daca
Compare
The change that was made back in emscripten-core#21775 means that its no longer OK to ignore the return value of the `MODULARIZE` constructor function. Fixes: emscripten-core#21908
fd3daca
to
4c3ded6
Compare
Hopefully all these code will be removed soon anyway once I figure out how to inline the |
Simplified this PR by removing the rename. PTAL. |
Thanks @MuTsunTsai , I missed that part among the rest of the diff... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a test for this?
This failure was already showing up but only in the interactive tests... so it was already tests, just not by CI tests (that same goes for pretty much all our audio tests). |
Fixes: #21908