Skip to content

Do not notify listeners after the session controller is disposed - #32

Merged
aniklavida merged 1 commit into
developfrom
fix/session-notify-after-dispose
Oct 2, 2026
Merged

aniklavida merged 1 commit into
developfrom
fix/session-notify-after-dispose

Conversation

@aniklavida

Copy link
Copy Markdown
Owner

A silent token refresh still in flight when the controller was disposed could finish afterwards and call notifyListeners on the disposed notifier. That raised an assertion and failed 'flutter integration (python backend)' intermittently (seen on the develop run for the web design merge). Once disposed, the controller now ignores late refresh results and late session clears.

🤖 Generated with Claude Code

A silent token refresh still in flight when the controller was disposed
could finish afterwards and call notifyListeners on the disposed notifier,
which raised an assertion and failed the Flutter integration job
intermittently. Once disposed, the controller now ignores late results.

Agent: Claude
Co-authored-by: AnikLaVida Bot <328546428+aniklavida-bot@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@aniklavida
aniklavida merged commit 9549074 into develop Oct 2, 2026
29 checks 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.

1 participant