From 4ffcbc8274b1237c1546dbc0173572355676e1f5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 31 Oct 2021 15:22:22 +0530 Subject: [PATCH] Wake up talk loop when not sending response to peer --- kitty/child-monitor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/child-monitor.c b/kitty/child-monitor.c index 3c50cea06..9e0b4b974 100644 --- a/kitty/child-monitor.c +++ b/kitty/child-monitor.c @@ -424,6 +424,7 @@ parse_input(ChildMonitor *self) { } if (resp) { if (PyBytes_Check(resp)) send_response_to_peer(msg->peer_id, PyBytes_AS_STRING(resp), PyBytes_GET_SIZE(resp)); + else send_response_to_peer(msg->peer_id, NULL, 0); Py_CLEAR(resp); } else send_response_to_peer(msg->peer_id, NULL, 0); }