mirror of https://github.com/OpenVidu/openvidu.git
openvidu-component: Close panel when component is destroyed
parent
3922bb456c
commit
e817c2304d
|
@ -103,6 +103,7 @@ export class PreJoinComponent implements OnInit, OnDestroy {
|
||||||
if (this.screenShareStateSubscription) this.screenShareStateSubscription.unsubscribe();
|
if (this.screenShareStateSubscription) this.screenShareStateSubscription.unsubscribe();
|
||||||
if (this.backgroundEffectsButtonSub) this.backgroundEffectsButtonSub.unsubscribe();
|
if (this.backgroundEffectsButtonSub) this.backgroundEffectsButtonSub.unsubscribe();
|
||||||
if (this.minimalSub) this.minimalSub.unsubscribe();
|
if (this.minimalSub) this.minimalSub.unsubscribe();
|
||||||
|
this.panelService.closePanel();
|
||||||
}
|
}
|
||||||
|
|
||||||
async onCameraSelected(event: any) {
|
async onCameraSelected(event: any) {
|
||||||
|
|
Loading…
Reference in New Issue