]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8155 - [verto_communicator] check for nulled data.liveArray preventing locked...
authorStefan Yohansson <stefan@evolux.net.br>
Thu, 17 Sep 2015 18:16:18 +0000 (15:16 -0300)
committerStefan Yohansson <stefan@evolux.net.br>
Thu, 17 Sep 2015 18:16:18 +0000 (15:16 -0300)
html5/verto/verto_communicator/src/vertoService/services/vertoService.js

index c8d52fbc8615e08644abdbe3d1474d6b6fb9f4f2..af34630daf884b5f8918410c861756e63f2afad1 100644 (file)
@@ -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();