From efd744b0f242f2e07a0cf17ae6c479b4024c5d4a Mon Sep 17 00:00:00 2001 From: David Brochart Date: Mon, 13 May 2024 18:42:44 +0200 Subject: [PATCH] Remove asyncio reader when quitting terminal --- plugins/terminals/fps_terminals/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/terminals/fps_terminals/server.py b/plugins/terminals/fps_terminals/server.py index 319f638d..406cfa75 100644 --- a/plugins/terminals/fps_terminals/server.py +++ b/plugins/terminals/fps_terminals/server.py @@ -74,3 +74,4 @@ def quit(self, websocket): self.websockets.remove(websocket) if not self.websockets: os.close(self.fd) + self.loop.remove_reader(self.p_out)