Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

fix: properly reset refresh retry count #122

Merged
merged 2 commits into from
Mar 10, 2023
Merged

fix: properly reset refresh retry count #122

merged 2 commits into from
Mar 10, 2023

Conversation

Vinzent03
Copy link
Contributor

@Vinzent03 Vinzent03 commented Mar 9, 2023

I'm resetting the count when we successfully set a new session. This should be the case after a call to _callRefreshToken with a new session, but for repeatedly calling _saveSession from recoverSession as well.

close supabase/supabase-flutter#393

Copy link
Member

@dshukertjr dshukertjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix!

@Vinzent03 Vinzent03 merged commit 35c3723 into main Mar 10, 2023
@Vinzent03 Vinzent03 deleted the fix/refresh branch March 10, 2023 11:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App throws when backgrounding and foregrounding quickly in succession.
2 participants