- remove listeners window when user logs out
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@1413 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
parent
5531c16731
commit
22f278207b
@ -130,7 +130,7 @@ package org.bigbluebutton.main.view
|
||||
break;
|
||||
case MainApplicationConstants.MODULE_STOPPED:
|
||||
var info:Object = notification.getBody();
|
||||
handleModuleStopped(info.moduleId, info.errors);
|
||||
// handleModuleStopped(info.moduleId, info.errors);
|
||||
break;
|
||||
case MainApplicationConstants.LOADED_MODULE:
|
||||
shell.loadedModules.text += notification.getBody() + "(loaded) ";
|
||||
|
@ -65,10 +65,10 @@ package org.bigbluebutton.modules.listeners
|
||||
case ListenersModuleConstants.DISCONNECTED:
|
||||
LogUtil.debug(NAME + ':Sending MODULE_STOPPED message to main');
|
||||
facade.sendNotification(ListenersModuleConstants.CLOSE_WINDOW);
|
||||
var info:Object = notification.getBody();
|
||||
info["moduleId"] = _module.moduleId;
|
||||
_endpoint.sendMessage(EndpointMessageConstants.MODULE_STOPPED,
|
||||
EndpointMessageConstants.TO_MAIN_APP, info);
|
||||
// var info:Object = notification.getBody();
|
||||
// info["moduleId"] = _module.moduleId;
|
||||
// _endpoint.sendMessage(EndpointMessageConstants.MODULE_STOPPED,
|
||||
// EndpointMessageConstants.TO_MAIN_APP, info);
|
||||
break;
|
||||
case ListenersModuleConstants.ADD_WINDOW:
|
||||
LogUtil.debug(NAME + ':Sending ADD_WINDOW message to main');
|
||||
|
@ -26,6 +26,7 @@ package org.bigbluebutton.modules.listeners.controller
|
||||
public class StopCommand extends SimpleCommand
|
||||
{
|
||||
override public function execute(notification:INotification):void{
|
||||
LogUtil.debug("ListenersModule StopCommand");
|
||||
if (facade.hasProxy(ListenersProxy.NAME)) {
|
||||
var p:ListenersProxy = facade.retrieveProxy(ListenersProxy.NAME) as ListenersProxy;
|
||||
p.stop();
|
||||
|
@ -91,7 +91,10 @@ package org.bigbluebutton.modules.listeners.model.service
|
||||
|
||||
private function leave():void
|
||||
{
|
||||
if (_listenersSO != null) _listenersSO.close();
|
||||
if (_listenersSO != null) {
|
||||
_listenersSO.close();
|
||||
}
|
||||
notifyConnectionStatusListener(false);
|
||||
}
|
||||
|
||||
public function addConnectionStatusListener(connectionListener:Function):void {
|
||||
|
Loading…
Reference in New Issue
Block a user