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

TalkerWrapper error loop fix #137

Merged
merged 1 commit into from
Aug 8, 2023
Merged

TalkerWrapper error loop fix #137

merged 1 commit into from
Aug 8, 2023

Conversation

s0nerik
Copy link
Contributor

@s0nerik s0nerik commented Aug 8, 2023

When ScaffoldMessenger is not available for some reason (like when error is received on app startup), TalkerWrapper.showAlert() was throwing an error that itself could be routed to talker, causing an infinite error loop.

This PR fixes the issue above by not requiring the ScaffoldMessenger to exist above the TalkerWrapper at all times.

@Frezyx
Copy link
Owner

Frezyx commented Aug 8, 2023

Hello @s0nerik 👋
Thanks a lot for your contribution!

It's definitely important bugfix.

@Frezyx Frezyx merged commit fffec7f into Frezyx:master Aug 8, 2023
1 check passed
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.

2 participants