Repository navigation
Commit ba3f59c
committed
fix(server): fresh-session schedules start while an old session has background work
A scheduled fresh-context dispatch on an idle thread was refused when the
session it would release still reported background work. Nobody can wait
or press Stop for a schedule, so every later fire failed until the work
ended. Scheduled fresh dispatches now leave the busy session running and
start a new one, as queued fresh starts already do.
Fixes #32100
AI-assisted; verified with the tests and tools listed above.1 parent 3834a65 commit ba3f59c
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7298 | 7298 | | |
7299 | 7299 | | |
7300 | 7300 | | |
7301 | | - | |
| 7301 | + | |
7302 | 7302 | | |
7303 | 7303 | | |
7304 | 7304 | | |
| |||
7307 | 7307 | | |
7308 | 7308 | | |
7309 | 7309 | | |
7310 | | - | |
| 7310 | + | |
| 7311 | + | |
7311 | 7312 | | |
| 7313 | + | |
| 7314 | + | |
7312 | 7315 | | |
7313 | 7316 | | |
7314 | 7317 | | |
| |||
7317 | 7320 | | |
7318 | 7321 | | |
7319 | 7322 | | |
| 7323 | + | |
7320 | 7324 | | |
7321 | 7325 | | |
7322 | 7326 | | |
| |||
0 commit comments