From 48f1441e529ac0d40c6ccb643a377203a019eba3 Mon Sep 17 00:00:00 2001 From: perroned Date: Thu, 9 Feb 2017 22:04:13 +0000 Subject: [PATCH] Fixes bug where share window won't close last step of instructions via toolbar button --- .../modules/screenshare/managers/WebRTCDeskshareManager.as | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/screenshare/managers/WebRTCDeskshareManager.as b/bigbluebutton-client/src/org/bigbluebutton/modules/screenshare/managers/WebRTCDeskshareManager.as index 147d8a875d..7703619d48 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/screenshare/managers/WebRTCDeskshareManager.as +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/screenshare/managers/WebRTCDeskshareManager.as @@ -106,6 +106,10 @@ package org.bigbluebutton.modules.screenshare.managers JSLog.warn("WebRTCDeskshareManager::stopWebRTCDeskshare", {}); viewWindowManager.stopViewing(); + /* close the sharing window. The sharing window can also be open when going through + extension installation */ + publishWindowManager.stopSharing(); + if (ExternalInterface.available) { ExternalInterface.call("vertoExitScreenShare"); }