-
Notifications
You must be signed in to change notification settings - Fork 26
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
Stops working after Polyfill component unmounts #15
Comments
I dont have much time to investigate this, but maybe you can suggest a quick fix. |
@sirpy I was going to ask a colleage to do a PR @Ofadiman I think the fix is like
So basically reset the promise that holds the reference when component is unmounting so that the next one can set the correct reference. |
This happens on Android when app is closed and opened again.
The new React component is created but the global module context holds old reference to worker.
The text was updated successfully, but these errors were encountered: