9p: delegate session tmpdir cleanup to core.Close()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-14 19:30:03 +02:00
parent 550510c459
commit dfd7dc2ef3
1 changed files with 1 additions and 1 deletions

View File

@ -1384,7 +1384,7 @@ func (s *Server) killSession(id string) {
s.mu.Unlock()
if sess != nil {
sess.cancel()
os.RemoveAll("/tmp/ollie/" + id) //nolint:errcheck
sess.core.Close()
fmt.Fprintf(os.Stderr, "olliesrv: killed session %s\n", id)
}
}