From 4e9bd4d95384f9d689e57bae8a20ec16ad49b714 Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Wed, 9 Aug 2017 08:23:45 +0200 Subject: [PATCH] and another one (#2063) --- app/ui/window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui/window.js b/app/ui/window.js index 6b5d8c9b..b46a2b30 100644 --- a/app/ui/window.js +++ b/app/ui/window.js @@ -160,7 +160,7 @@ module.exports = class Window { rpc.emit('move'); }); rpc.on('close', () => { - this.close(); + window.close(); }); const deleteSessions = () => { sessions.forEach((session, key) => {