Commit bc30b7b
fix: isolate per-profile token cleanup on sign-out and assert state refresh
Wrap per-profile work in the zoo-gateway sign-out cleanup loop in its own
try/catch so one corrupted profile or failed write no longer aborts cleanup
of the remaining profiles. Also assert postStateToWebview runs on the
handleZooCodeCallback persistence-failure path.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 42b3f0c commit bc30b7b
2 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3772 | 3772 | | |
3773 | 3773 | | |
3774 | 3774 | | |
| 3775 | + | |
| 3776 | + | |
3775 | 3777 | | |
3776 | 3778 | | |
3777 | 3779 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2457 | 2457 | | |
2458 | 2458 | | |
2459 | 2459 | | |
2460 | | - | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
2461 | 2468 | | |
2462 | 2469 | | |
2463 | 2470 | | |
| |||
2477 | 2484 | | |
2478 | 2485 | | |
2479 | 2486 | | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
2480 | 2493 | | |
2481 | 2494 | | |
2482 | 2495 | | |
2483 | | - | |
| 2496 | + | |
2484 | 2497 | | |
2485 | | - | |
| 2498 | + | |
2486 | 2499 | | |
2487 | 2500 | | |
2488 | 2501 | | |
| |||
0 commit comments