fix: Clear init lock on failed init
This commit is contained in:
parent
5167e92913
commit
f7768af44e
|
|
@ -745,6 +745,7 @@ class Client extends MatrixApi {
|
||||||
Logs.error('Initialization failed: ${e.toString()}', s);
|
Logs.error('Initialization failed: ${e.toString()}', s);
|
||||||
clear();
|
clear();
|
||||||
onLoginStateChanged.addError(e, s);
|
onLoginStateChanged.addError(e, s);
|
||||||
|
_initLock = false;
|
||||||
rethrow;
|
rethrow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue