Move process creation to ClaudeConnection::new_thread

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
This commit is contained in:
Agus Zubiaga 2025-07-24 11:37:55 -03:00
parent bfa6a2290e
commit cdfe91ce9e
5 changed files with 113 additions and 114 deletions

View file

@ -965,7 +965,7 @@ impl AcpThread {
}
}
self.connection.cancel(cx);
self.connection.cancel(&self.session_id, cx);
// Wait for the send task to complete
cx.foreground_executor().spawn(send_task)