chore: suppress abort errors (#7120)

* chore: suppress abort errors

* chore: return if aborted

* chore: linting
This commit is contained in:
Jason Rasmussen 2024-02-14 11:24:18 -05:00 committed by GitHub
parent 747df0ae86
commit b823dfffdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View file

@ -232,6 +232,10 @@ export class AssetStore {
}
}
if (bucket.cancelToken.signal.aborted) {
return;
}
bucket.assets = assets;
this.emit(true);