Commit 1e8d3f2
fix(iv): gate jwt-invalidated listener add/remove on init
Match the init-readiness pattern used by updateUserJwt: when background
threading is enabled, waitForInit; otherwise throw if not initialized.
Without this, listeners added before initWithContext silently bind to a
not-yet-wired UserManager.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 596d0b3 commit 1e8d3f2
1 file changed
Lines changed: 14 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
456 | 463 | | |
457 | 464 | | |
458 | 465 | | |
459 | 466 | | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
460 | 474 | | |
461 | 475 | | |
462 | 476 | | |
| |||
0 commit comments