mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-12 00:01:11 +00:00
fix terminal disconnect
This commit is contained in:
@@ -251,7 +251,8 @@ async fn handle_terminal_forwarding<
|
||||
future_or_cancel(ws_read.receive_stdout(), &cancel).await
|
||||
{
|
||||
let bytes = match msg {
|
||||
Ok(bytes) => bytes,
|
||||
Ok(Some(bytes)) => bytes,
|
||||
Ok(None) => break,
|
||||
Err(e) => {
|
||||
cancel.cancel();
|
||||
return Some(e.context("Websocket read error"));
|
||||
|
||||
Reference in New Issue
Block a user