From 75e1161434064a406cd23f2e3b14c71e065c243a Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Thu, 14 Dec 2017 12:15:56 +0100 Subject: [PATCH] Throw away the reference to RFB on disconnect --- app/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/ui.js b/app/ui.js index a0190004..860f4080 100644 --- a/app/ui.js +++ b/app/ui.js @@ -1055,6 +1055,8 @@ var UI = { UI.updateVisualState('disconnecting'); + UI.rfb = undefined; + // Don't display the connection settings until we're actually disconnected },