Skip to content

Conversation

@jdimovska
Copy link
Contributor

@jdimovska jdimovska commented Nov 23, 2025

💡 Overview

This PR fixes a race condition where setEnabled could run before the Krisp SDK was fully initialized. In that use-case the filter node exists but the promise is not yet resolved which leads to potential WASM_OR_WORKER_NOT_READY errors.
With these changes toggle actions now wait for the initialization promise to resolve before executing.

🎫 Ticket: https://linear.app/stream/issue/REACT-667/krisp-delay-toggling-until-initialization-is-finished

- await ready promise before enabling /disabling
@oliverlaz oliverlaz changed the title fix: Fix noise cancellation toggle before krisp initialization fix(noise cancellation): delay toggling until initialization is finished Nov 24, 2025
@jdimovska jdimovska merged commit d28b8ea into main Nov 24, 2025
30 of 33 checks passed
@jdimovska jdimovska deleted the krisp-init-async branch November 24, 2025 16:09
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.

4 participants