check if we have deskshare window open before closing

This commit is contained in:
Richard Alam 2011-11-09 10:07:06 -05:00
parent cf7389e6e0
commit c4949f245d

View File

@ -50,7 +50,7 @@ package org.bigbluebutton.modules.deskshare.managers
}
public function stopSharing():void {
shareWindow.stopSharing();
if (shareWindow != null) shareWindow.stopSharing();
}
public function startSharing(uri:String, room:String, autoStart:Boolean):void {