mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
Merge pull request #456 in FS/freeswitch from ~JMESQUITA/freeswitch:bugfix/FS-8089-pop-out-member-list-on-conference to master
* commit 'b7fa8f3347bbc1b52412db185e23ebf66e38abe6': FS-8088 [verto_communicator] Call conference destroy upon hangup and on event destroy to properly unsub from events.
This commit is contained in:
commit
db63d5d6a5
@ -416,6 +416,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||||||
console.log('Has data.liveArray.');
|
console.log('Has data.liveArray.');
|
||||||
$rootScope.$emit('members.clear');
|
$rootScope.$emit('members.clear');
|
||||||
data.liveArray = null;
|
data.liveArray = null;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log('Doesn\'t found data.liveArray.');
|
console.log('Doesn\'t found data.liveArray.');
|
||||||
}
|
}
|
||||||
@ -502,6 +503,9 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||||||
if (d.params.screenShare) {
|
if (d.params.screenShare) {
|
||||||
cleanShareCall(that);
|
cleanShareCall(that);
|
||||||
} else {
|
} else {
|
||||||
|
if (data.conf) {
|
||||||
|
data.conf.destroy();
|
||||||
|
}
|
||||||
cleanCall();
|
cleanCall();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -690,6 +694,11 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||||||
|
|
||||||
data.call.hangup();
|
data.call.hangup();
|
||||||
|
|
||||||
|
if (data.conf) {
|
||||||
|
data.conf.destroy();
|
||||||
|
data.conf = null;
|
||||||
|
}
|
||||||
|
|
||||||
console.debug('The call was hangup.');
|
console.debug('The call was hangup.');
|
||||||
|
|
||||||
if (angular.isFunction(callback)) {
|
if (angular.isFunction(callback)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user