mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Cleared captions subscription
parent
de9f195fd5
commit
1d68cbeaf8
|
@ -85,7 +85,6 @@ export class SessionComponent implements OnInit, OnDestroy {
|
||||||
protected layoutWidthSubscription: Subscription;
|
protected layoutWidthSubscription: Subscription;
|
||||||
|
|
||||||
protected updateLayoutInterval: NodeJS.Timer;
|
protected updateLayoutInterval: NodeJS.Timer;
|
||||||
// private sttReconnectionInterval: NodeJS.Timer;
|
|
||||||
private captionLanguageSubscription: Subscription;
|
private captionLanguageSubscription: Subscription;
|
||||||
|
|
||||||
protected log: ILogger;
|
protected log: ILogger;
|
||||||
|
@ -214,6 +213,7 @@ export class SessionComponent implements OnInit, OnDestroy {
|
||||||
this.sessionScreen = null;
|
this.sessionScreen = null;
|
||||||
if (this.menuSubscription) this.menuSubscription.unsubscribe();
|
if (this.menuSubscription) this.menuSubscription.unsubscribe();
|
||||||
if (this.layoutWidthSubscription) this.layoutWidthSubscription.unsubscribe();
|
if (this.layoutWidthSubscription) this.layoutWidthSubscription.unsubscribe();
|
||||||
|
if (this.captionLanguageSubscription) this.captionLanguageSubscription.unsubscribe();
|
||||||
}
|
}
|
||||||
|
|
||||||
leaveSession() {
|
leaveSession() {
|
||||||
|
|
Loading…
Reference in New Issue