Commit eace3c8
committed
fix: only abort in-flight turns on teardown for SDK-owned runtimes
The abort-before-teardown added for the Windows session.db EBUSY fix ran
unconditionally, so stop() on a client merely connected to an external
runtime it does not own would cancel that runtime's pending work. Scope the
abort to !isExternalServer so external-server clients disconnect gracefully
without cancelling pending permission/tool requests other clients may resume.
Restores pending_work_resume e2e (7/7) under graceful stop().1 parent 4a56646 commit eace3c8
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
917 | | - | |
918 | | - | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
919 | 923 | | |
920 | 924 | | |
921 | 925 | | |
| |||
0 commit comments