Commit 4f8f8cb
Abort in-flight session turns before shutdown to release session.db handle
A turn still running when the runtime disposes the session can leave that
session's SQLite session.db handle open. Over the in-process transport the
runtime shares the test process, so the handle is not reclaimed and the file
stays locked on Windows, causing EBUSY/ENOTEMPTY when removing the
session-state directory during teardown. Abort each session before disconnect
so the turn cancels and releases the handle.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f642bd6 commit 4f8f8cb
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
910 | 919 | | |
911 | 920 | | |
912 | 921 | | |
| |||
0 commit comments