-
Notifications
You must be signed in to change notification settings - Fork 35
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
reset() hold at onCancel #552
Comments
@TillJohanndeiter thanks for digging into the stack and finding the hanging line. I have no immediate idea of why that line itself would hang. When you debug with Otherwise, a repro example would be very helpful. |
Thanks for the quick response. What do you mean with I will try to setup a repro example and will notice you. |
@TillJohanndeiter when you're using Flutter's debugger - either in the IDE or in the devtools instance that can be opened from |
Here is the repro example. I altered your example_supabase and created a pr to you can see the difference a little bit more easier. I run brick mostly on web an linux. So i added some lines of code On the web version i get this error:
On linux it just stuck. For the web version you have to run
first |
If i call
Repository().reset()
then the method is not finished. It seems to hold.
After debugging the code i figured out that it stuck in this line in
onCancel
of the StreamControllerIn my project i use often a Riverpod StreamProvider e.g.:
If you don't have an idea why, then i will setup a repo and try to reproduce the problem.
Thanks as always!
The text was updated successfully, but these errors were encountered: