Open koral-- opened 2 years ago
A comment for preventing the issue from being automatically closed as the problem is still there.
I'm facing the same issue on the latest version [9.2.2]
In my case it was popUntilRoot(...)
causing this error, replaced it with replaceAll([...])
seems to have resolved it.
Not sure if there would be any side effects, will keep monitor the behaviour.
This is an anonymous automated crash report.
Affected line in my code:
AutoRouter.of(context).popUntilRouteWithName(<SomePage>Route.name);
It is the loader (modal dialog) hiding, invoked from the cubit listener. However, emissions won't occur if the cubit is closed. I've tried inserting the artificial delays to simulate some race conditions eg. pop the page from whichcontext
is taken just before callingpopUntilRouteWithName
but I could not reproduce any exception so I guess there is a bug in this library.auto_route: 3.2.4 flutter 2.8.3 Android 12