Skip to content

Fix emscripten_is_main_runtime_thread() under in audio worklet#26818

Merged
juj merged 1 commit intoemscripten-core:mainfrom
sbc100:fix_is_main_thread
Apr 30, 2026
Merged

Fix emscripten_is_main_runtime_thread() under in audio worklet#26818
juj merged 1 commit intoemscripten-core:mainfrom
sbc100:fix_is_main_thread

Conversation

@sbc100
Copy link
Copy Markdown
Collaborator

@sbc100 sbc100 commented Apr 30, 2026

This function was incorrectly returning true in audio worklets because ENVIRONMENT_IS_WORKER is not defined in audio worklets.

This function was incorrectly returning `true` in audio worklets
because `ENVIRONMENT_IS_WORKER` is not defined in audio worklets.
@sbc100 sbc100 requested review from dschuff, juj and kripken April 30, 2026 03:04
@juj juj merged commit 0d980eb into emscripten-core:main Apr 30, 2026
30 checks passed
@juj
Copy link
Copy Markdown
Collaborator

juj commented Apr 30, 2026

Given that Audio Worklets are involved in #26823, I'll land this to test if this has an effect there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants