Skip to content

Add fallback when getCleanWorker returns null#50

Open
ryanbr wants to merge 1 commit intomasterfrom
feat/clean-worker-fallback
Open

Add fallback when getCleanWorker returns null#50
ryanbr wants to merge 1 commit intomasterfrom
feat/clean-worker-fallback

Conversation

@ryanbr
Copy link
Copy Markdown
Owner

@ryanbr ryanbr commented Apr 6, 2026

If getCleanWorker(window.Worker) fails to find the original Worker (extension conflict, browser quirk), fall back to window.Worker instead of crashing with TypeError from class extends null.

If getCleanWorker(window.Worker) fails to find the original Worker
(extension conflict, browser quirk), fall back to window.Worker
instead of crashing with TypeError from class extends null.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant