mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-29 13:43:07 +00:00
FS-8088 - [verto_communicator] Unsubscribing from liveArray after ending a conference call.
This commit is contained in:
parent
2d2a27f6ad
commit
7fd43421b1
@ -413,6 +413,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||||||
function stopConference() {
|
function stopConference() {
|
||||||
console.log('stopConference()');
|
console.log('stopConference()');
|
||||||
if (data.liveArray) {
|
if (data.liveArray) {
|
||||||
|
data.liveArray.destroy();
|
||||||
console.log('Has data.liveArray.');
|
console.log('Has data.liveArray.');
|
||||||
$rootScope.$emit('members.clear');
|
$rootScope.$emit('members.clear');
|
||||||
data.liveArray = null;
|
data.liveArray = null;
|
||||||
@ -504,6 +505,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||||||
cleanShareCall(that);
|
cleanShareCall(that);
|
||||||
} else {
|
} else {
|
||||||
if (data.conf) {
|
if (data.conf) {
|
||||||
|
data.liveArray.destroy();
|
||||||
data.conf.destroy();
|
data.conf.destroy();
|
||||||
}
|
}
|
||||||
cleanCall();
|
cleanCall();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user