FS-8155 - [verto_communicator] check for nulled data.liveArray preventing locked video interface

This commit is contained in:
Stefan Yohansson 2015-09-17 15:16:18 -03:00
parent d66d2271f7
commit eefeaa6a60
1 changed files with 4 additions and 1 deletions

View 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();