Skip to content
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

log an error if the binding is not ready #463

Merged
merged 4 commits into from
Oct 23, 2024

Conversation

poborin
Copy link
Contributor

@poborin poborin commented Oct 22, 2024

Changes

catch a JS error if the binding is not ready. Fixes #460

@temeddix
Copy link
Member

temeddix commented Oct 22, 2024

Thanks for your contribution :)

May I ask you if this fixes #460, or it just kindly prints an error if binding is not ready? It looks like code just handles error gracefully to me.


After some debugging, now I see what this PR does. When there is no global rinf JS object, your code might be able to ignore the absense and proceed, even in web workers. Thanks a lot.

@temeddix temeddix merged commit 033e80e into cunarist:main Oct 23, 2024
22 checks passed
@temeddix
Copy link
Member

I'll publish a new version within a day. Thank you very much

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.

Error when running example on Flutter web
2 participants