Add protection to avoid null pointer.
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@2706 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
parent
343ae2c91a
commit
1c2066a4ae
@ -114,9 +114,11 @@ package org.bigbluebutton.modules.videoconf.business
|
||||
}
|
||||
|
||||
public function stopBroadcasting(e:StopBroadcastEvent):void{
|
||||
ns.attachCamera(null);
|
||||
ns.close();
|
||||
ns = null;
|
||||
if (ns != null) {
|
||||
ns.attachCamera(null);
|
||||
ns.close();
|
||||
ns = null;
|
||||
}
|
||||
}
|
||||
|
||||
public function onBWDone():void{
|
||||
|
Loading…
Reference in New Issue
Block a user