Repository navigation
Commit 10e6545
docs(session): Say why a terminal status clears the unhandled marker
end() already gives a terminal status precedence via its status == Ok guard, so
the clearing is about keeping the flag honest: without it a crashed session
serializes a marker claiming it did not terminate, and the public accessor
reports true for it.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 6e78a04 commit 10e6545
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
| 314 | + | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| |||
0 commit comments