forked from mystiq/hydrogen-web
fix #152
This commit is contained in:
parent
b27f6a067f
commit
9f453c0984
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export class LoginViewModel extends ViewModel {
|
|||
async login(username, password, homeserver) {
|
||||
this._loadViewModelSubscription = this.disposeTracked(this._loadViewModelSubscription);
|
||||
if (this._loadViewModel) {
|
||||
this._loadViewModel.cancel();
|
||||
this._loadViewModel = this.disposeTracked(this._loadViewModel);
|
||||
}
|
||||
this._loadViewModel = this.track(new SessionLoadViewModel({
|
||||
createAndStartSessionContainer: () => {
|
||||
|
|
Loading…
Reference in a new issue