debugger: More tidy up for SSH (#28993)
Split `locator` out of DebugTaskDefinition to make it clearer when location needs to happen. Release Notes: - N/A --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me> Co-authored-by: Anthony <anthony@zed.dev> Co-authored-by: Cole Miller <m@cole-miller.net>
This commit is contained in:
parent
d13cd007a2
commit
9d35f0389d
57 changed files with 1146 additions and 884 deletions
|
@ -982,15 +982,6 @@ fn subscribe_for_terminal_events(
|
|||
window.invalidate_character_coordinates();
|
||||
cx.emit(SearchEvent::ActiveMatchChanged)
|
||||
}
|
||||
Event::TaskLocatorReady { task_id, success } => {
|
||||
if *success {
|
||||
workspace
|
||||
.update(cx, |workspace, cx| {
|
||||
workspace.debug_task_ready(task_id, cx);
|
||||
})
|
||||
.log_err();
|
||||
}
|
||||
}
|
||||
},
|
||||
);
|
||||
vec![terminal_subscription, terminal_events_subscription]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue