Skip to content

fix(application): wrap native classes in initialisers#10335

Merged
rigor789 merged 1 commit intomainfrom
fix/application-native-classes
Jul 10, 2023
Merged

fix(application): wrap native classes in initialisers#10335
rigor789 merged 1 commit intomainfrom
fix/application-native-classes

Conversation

@rigor789
Copy link
Copy Markdown
Member

@rigor789 rigor789 commented Jul 6, 2023

PR Checklist

What is the current behavior?

new native classes are attempted to be initialised in workers, causing workers to crash.

What is the new behavior?

native classes are initialised once on the main app thread and reused as necessary in workers.

fixes: #10334

@cla-bot cla-bot bot added the cla: yes label Jul 6, 2023
@rigor789 rigor789 marked this pull request as ready for review July 6, 2023 14:56
@rigor789 rigor789 merged commit 5359153 into main Jul 10, 2023
@rigor789 rigor789 deleted the fix/application-native-classes branch July 10, 2023 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Worker broken since >=8.5.4 if globals imported

1 participant