diff --git a/bigbluebutton-client/src/org/bigbluebutton/core/managers/ConnectionManager.as b/bigbluebutton-client/src/org/bigbluebutton/core/managers/ConnectionManager.as index b4a615f345..362c61d9c4 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/core/managers/ConnectionManager.as +++ b/bigbluebutton-client/src/org/bigbluebutton/core/managers/ConnectionManager.as @@ -46,6 +46,10 @@ package org.bigbluebutton.core.managers public function sendMessage(service:String, onSuccess:Function, onFailure:Function, message:Object=null):void { connDelegate.sendMessage(service, onSuccess, onFailure, message); } + + public function forceClose():void { + connDelegate.forceClose(); + } } } \ No newline at end of file diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/model/users/NetConnectionDelegate.as b/bigbluebutton-client/src/org/bigbluebutton/main/model/users/NetConnectionDelegate.as index 884c217d1f..475e4e2d66 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/main/model/users/NetConnectionDelegate.as +++ b/bigbluebutton-client/src/org/bigbluebutton/main/model/users/NetConnectionDelegate.as @@ -176,7 +176,12 @@ package org.bigbluebutton.main.model.users this.logoutOnUserCommand = logoutOnUserCommand; _netConnection.close(); } - + + + public function forceClose():void { + _netConnection.close(); + } + protected function netStatus( event : NetStatusEvent ) : void { handleResult( event ); diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/views/MainToolbar.mxml b/bigbluebutton-client/src/org/bigbluebutton/main/views/MainToolbar.mxml index 5c74b78600..c0f1caad55 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/main/views/MainToolbar.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/main/views/MainToolbar.mxml @@ -33,23 +33,24 @@ +