openvidu-component: Close panel when component is destroyed

pull/721/head
csantosm 2022-05-09 13:28:07 +02:00
parent 3922bb456c
commit e817c2304d
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ export class PreJoinComponent implements OnInit, OnDestroy {
if (this.screenShareStateSubscription) this.screenShareStateSubscription.unsubscribe();
if (this.backgroundEffectsButtonSub) this.backgroundEffectsButtonSub.unsubscribe();
if (this.minimalSub) this.minimalSub.unsubscribe();
this.panelService.closePanel();
}
async onCameraSelected(event: any) {