Commit f9aeebd
fix(gotrue): prevent double completion of refresh token completer
Check if the completer is already completed before calling completeError
in dispose() to avoid "Bad state: Future already completed" errors during
concurrent dispose operations.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 5c25dda commit f9aeebd
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1351 | 1351 | | |
1352 | 1352 | | |
1353 | 1353 | | |
1354 | | - | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
1355 | 1358 | | |
1356 | 1359 | | |
1357 | 1360 | | |
| |||
0 commit comments