fix leaking left panel view model after closing session
This commit is contained in:
parent
de83d7740b
commit
6ad7be8726
1 changed files with 2 additions and 2 deletions
|
@ -31,9 +31,9 @@ export class SessionViewModel extends ViewModel {
|
|||
reconnector: sessionContainer.reconnector,
|
||||
session: sessionContainer.session,
|
||||
})));
|
||||
this._leftPanelViewModel = new LeftPanelViewModel(this.childOptions({
|
||||
this._leftPanelViewModel = this.track(new LeftPanelViewModel(this.childOptions({
|
||||
rooms: this._sessionContainer.session.rooms
|
||||
}));
|
||||
})));
|
||||
this._currentRoomViewModel = null;
|
||||
this._gridViewModel = null;
|
||||
this._setupNavigation();
|
||||
|
|
Reference in a new issue