From a538d9e79015356d8a2c9f9ecb9e2d961519a22b Mon Sep 17 00:00:00 2001 From: Florrie Date: Sat, 6 Jul 2019 11:42:33 -0300 Subject: Remove backend listeners when client closes --- client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client.js b/client.js index a0c8352..190c087 100644 --- a/client.js +++ b/client.js @@ -53,6 +53,7 @@ const setupClient = async ({backend, writable, interfacer, appConfig}) => { root.select(appElement) appElement.on('quitRequested', () => { + appElement.removeListeners() cleanTerminal() }) -- cgit 1.3.0-6-gf8a5