From 89c606ab181e2fb5303dbb2c4488fe3709e31fd6 Mon Sep 17 00:00:00 2001 From: Lucy Date: Wed, 3 Aug 2022 14:12:05 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Exit=20compositor=20on=20IPC=20fail?= =?UTF-8?q?ure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/comp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/comp.rs b/src/comp.rs index 1a71924..06d8826 100644 --- a/src/comp.rs +++ b/src/comp.rs @@ -209,6 +209,7 @@ pub fn run_compositor( }, result = receive_ipc(&mut ipc_state, &mut session_rx) => if let Err(err) = result { error!("failed to receive IPC: {:?}", err); + break; }, Some(socket) = socket_rx.recv() => { send_fd(&mut session_tx, socket)