diff options
| author | raphCode <15750438+raphCode@users.noreply.github.com> | 2022-09-14 17:33:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-14 17:33:46 +0200 |
| commit | 65d12c4b9bd253a73756d384729463fa634e2b32 (patch) | |
| tree | 8017c3b0195665cd0ca4563654abc94a9a1555bc | |
| parent | docs(changelog): error handling in screen (diff) | |
| download | sl0ppij-65d12c4b9bd253a73756d384729463fa634e2b32.tar.gz sl0ppij-65d12c4b9bd253a73756d384729463fa634e2b32.tar.xz sl0ppij-65d12c4b9bd253a73756d384729463fa634e2b32.zip | |
Don't send the server an exit signal when client panics (#1731)
* Don't send the server an exit signal when client crashes
* Update changelog
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | zellij-client/src/lib.rs | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 76d40c84..2931e5dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] * debugging: Improve error handling in screen thread (https://github.com/zellij-org/zellij/pull/1670) +* fix: Server exits when client panics (https://github.com/zellij-org/zellij/pull/1731) ## [0.31.4] - 2022-09-09 * Terminal compatibility: improve vttest compliance (https://github.com/zellij-org/zellij/pull/1671) diff --git a/zellij-client/src/lib.rs b/zellij-client/src/lib.rs index 067ad732..9c5169cc 100644 --- a/zellij-client/src/lib.rs +++ b/zellij-client/src/lib.rs @@ -26,7 +26,7 @@ use zellij_utils::{ data::{ClientId, InputMode, Style}, envs, errors::{ClientContext, ContextType, ErrorInstruction}, - input::{actions::Action, config::Config, options::Options}, + input::{config::Config, options::Options}, ipc::{ClientAttributes, ClientToServerMsg, ExitReason, ServerToClientMsg}, termwiz::input::InputEvent, }; @@ -356,7 +356,6 @@ pub fn start_client( break; }, ClientInstruction::Error(backtrace) => { - let _ = os_input.send_to_server(ClientToServerMsg::Action(Action::Quit, None)); handle_error(backtrace); }, ClientInstruction::Render(output) => { |
