mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-8088 - [verto_communicator] Unsubscribing from liveArray after ending a conference call.
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user