From b2b8ede0a9c2fd74c152a6dbba807c3f8c1ba060 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 22 May 2025 16:16:39 +0530 Subject: [PATCH] Remote control: Fix holding a remote control socket open causing the kitty I/O thread to go into a loop and not respond on other remote control sockets --- docs/changelog.rst | 2 ++ kitty/child-monitor.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index bd1415536..762349228 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -113,6 +113,8 @@ Detailed list of changes - A new :option:`kitty --grab-keyboard` that can be used to grab the keyboard so that global shortcuts are sent to kitty instead +- Remote control: Fix holding a remote control socket open causing the kitty I/O thread to go into a loop and not respond on other remote control sockets (:disc:`8670`) + 0.42.1 [2025-05-17] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/child-monitor.c b/kitty/child-monitor.c index d5821d497..b2c82e883 100644 --- a/kitty/child-monitor.c +++ b/kitty/child-monitor.c @@ -1953,7 +1953,6 @@ talk_loop(void *data) { p->read.finished = true; p->write.failed = true; p->write.used = 0; } - break; } } } else if (ret < 0) { if (errno != EAGAIN && errno != EINTR) perror("poll() on talk fds failed"); }