Commit 0ce08f2
committed
fix(gdrive): prevent duplicate concurrent token requests
A manual "Reconnect" click is simultaneously the pointerdown that
satisfies an armed gesture-retry AND the button's own click handler, so
both could call requestAccessToken() on the same tick. Wire up the
already-present (but previously unused) isRefreshing flag as a guard.1 parent 80d8c4d commit 0ce08f2
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
309 | 317 | | |
310 | 318 | | |
311 | 319 | | |
| |||
314 | 322 | | |
315 | 323 | | |
316 | 324 | | |
| 325 | + | |
317 | 326 | | |
318 | 327 | | |
319 | 328 | | |
| |||
0 commit comments