Fix tasks not being stopped on reruns (#29786)
Follow-up of https://github.com/zed-industries/zed/pull/28993 * Tone down tasks' cancellation logging * Fix task terminals' leak, disallowing to fully cancel the task by dropping the terminal off the pane: https://github.com/zed-industries/zed/blob/f619d5f02af100c34e286af294a42a01dcfb238c/crates/terminal_view/src/terminal_panel.rs#L1464-L1471 Release Notes: - Fixed tasks not being stopped on reruns
This commit is contained in:
@@ -136,7 +136,7 @@ pub trait TerminalProvider {
|
||||
task: SpawnInTerminal,
|
||||
window: &mut Window,
|
||||
cx: &mut App,
|
||||
) -> Task<Result<ExitStatus>>;
|
||||
) -> Task<Option<Result<ExitStatus>>>;
|
||||
}
|
||||
|
||||
pub trait DebuggerProvider {
|
||||
|
||||
Reference in New Issue
Block a user