mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
always throw here so we never get to Ready status when stopped
This commit is contained in:
parent
134f018849
commit
b8370d53b6
@ -226,9 +226,7 @@ export class SessionContainer {
|
||||
try {
|
||||
await this._waitForFirstSyncHandle.promise;
|
||||
if (this._sync.status.get() === SyncStatus.Stopped) {
|
||||
if (this._sync.error) {
|
||||
throw this._sync.error;
|
||||
}
|
||||
throw this._sync.error;
|
||||
}
|
||||
} catch (err) {
|
||||
// if dispose is called from stop, bail out
|
||||
|
Loading…
Reference in New Issue
Block a user