Repository navigation
Commit 1d87beb
fix(mobile): re-check busy/editing guards after outbox write confirmation
The drain's threadBusy and editing-state guards were evaluated before
awaiting write confirmation, so a thread going busy or the user opening
the message in the editor during a slow write could still dispatch a
stale payload. Re-read both from the registry after the await and defer
to the next drain pass instead.
Co-Authored-By: Claude Fable 5 <[email protected]>1 parent 712ab01 commit 1d87beb
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
364 | 381 | | |
365 | 382 | | |
366 | 383 | | |
| |||
0 commit comments