From: Stefan Yohansson Date: Thu, 17 Sep 2015 18:16:18 +0000 (-0300) Subject: FS-8155 - [verto_communicator] check for nulled data.liveArray preventing locked... X-Git-Tag: v1.6.2~1^2~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eefeaa6a6067a6f689ec9f77f6f68b80274f0cbf;p=thirdparty%2Ffreeswitch.git FS-8155 - [verto_communicator] check for nulled data.liveArray preventing locked video interface --- diff --git a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js index c8d52fbc86..af34630daf 100644 --- a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js +++ b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js @@ -508,8 +508,11 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora if (d.params.screenShare) { cleanShareCall(that); } else { - if (data.conf) { + if (data.liveArray) { data.liveArray.destroy(); + } + + if (data.conf) { data.conf.destroy(); } cleanCall();