Commit cb273b9
Fix NPE in syncWithRemoteQueue when message is removed during sync (#485)
Add null check for localMessage after re-fetching from storage to guard
against a race condition where the message is removed between the
existence check and the retrieval.
Fixes #485
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 072973f commit cb273b9
1 file changed
Lines changed: 6 additions & 4 deletions
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
| 357 | + | |
357 | 358 | | |
358 | | - | |
359 | | - | |
| 359 | + | |
| 360 | + | |
360 | 361 | | |
361 | | - | |
| 362 | + | |
| 363 | + | |
362 | 364 | | |
363 | 365 | | |
364 | 366 | | |
| |||
0 commit comments