From: Italo Rossi Date: Fri, 4 Sep 2015 02:13:34 +0000 (-0300) Subject: FS-8088 - [verto_communicator] Unsubscribing from liveArray after ending a conference... X-Git-Tag: v1.6.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fd43421b1e5bc33ed72b4dde6b2440abbb1877a;p=thirdparty%2Ffreeswitch.git FS-8088 - [verto_communicator] Unsubscribing from liveArray after ending a conference call. --- diff --git a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js index 3c5586012f..25c9465547 100644 --- a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js +++ b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js @@ -413,6 +413,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora function stopConference() { console.log('stopConference()'); if (data.liveArray) { + data.liveArray.destroy(); console.log('Has data.liveArray.'); $rootScope.$emit('members.clear'); data.liveArray = null; @@ -504,6 +505,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora cleanShareCall(that); } else { if (data.conf) { + data.liveArray.destroy(); data.conf.destroy(); } cleanCall();