always throw here so we never get to Ready status when stopped
This commit is contained in:
parent
134f018849
commit
b8370d53b6
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Reference in a new issue