diff options
author | Florrie <towerofnix@gmail.com> | 2019-07-06 11:42:33 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-07-06 11:42:33 -0300 |
commit | a538d9e79015356d8a2c9f9ecb9e2d961519a22b (patch) | |
tree | 92ce60287f04892cf9ae07de82054b0d0f06d8c3 | |
parent | ff79d16bf5037bd08ba3f12dde44829218ad7397 (diff) |
Remove backend listeners when client closes
-rw-r--r-- | client.js | 1 |
1 files changed, 1 insertions, 0 deletions
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() }) |