ssh remoting: Undo the spawning of message handlers (#19409)
I suspect that this might have something to do with saving files not being possible after a while. I want to merge this and bump nightly. Release Notes: - N/A
This commit is contained in:
parent
5168fc27a1
commit
ea460014ab
1 changed files with 9 additions and 12 deletions
|
@ -1526,7 +1526,6 @@ impl ChannelClient {
|
||||||
cx.clone(),
|
cx.clone(),
|
||||||
) {
|
) {
|
||||||
log::debug!("ssh message received. name:{type_name}");
|
log::debug!("ssh message received. name:{type_name}");
|
||||||
cx.foreground_executor().spawn(async move {
|
|
||||||
match future.await {
|
match future.await {
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
log::debug!("ssh message handled. name:{type_name}");
|
log::debug!("ssh message handled. name:{type_name}");
|
||||||
|
@ -1537,8 +1536,6 @@ impl ChannelClient {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).detach();
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
log::error!("unhandled ssh message name:{type_name}");
|
log::error!("unhandled ssh message name:{type_name}");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue