-
Notifications
You must be signed in to change notification settings - Fork 20
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
setState() called after dispose(): _FlareLoadingState#... #26
Comments
Having seen this happen quite a few times now, I can confirm it happens when the enclosing I have worked around it by being clever with the |
Ok strange one ^^ never got it because I don't play with key or rebuild for my splashscreen ^^ |
I'll keep an eye on it and see if I can fix it. Thing is, I got the error even without rebuilding. Because somehow, something decides to call |
So the error is not in this repo but in flare_loading, which is a statefulWidget, so I think before each setState a check should be made to see if widget is still |
Hi, it's me again, your favourite source of unwanted bug reports.
I'll start off with the error message.
Now this has proven a really pesky one to debug because it doesn't always occur. So it's a time-sensitive issue, a race condition. I included a bit of stacktrace above that points to
flare_loading
and indeed, it does setsetState
. I have a feeling myuntil
function finishes before my animation finishes. MyonSuccess
navigates elsewhere so I assume this removes the widget from the tree or something, which meshes with the verbose error I get. Still, I haven't been able to figure it out exactly.I thought I'd report it here in case any of things rings a bell or the solution is obvious.
The text was updated successfully, but these errors were encountered: