Skip to content

Commit 396449e

Browse files
committed
formatting
1 parent 31254a5 commit 396449e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎JetStreamDriver.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,11 @@ class BrowserFileLoader {
255255
this._blobDataCache[resource] = blobDataOrPromise;
256256
}
257257
const blobData = await blobDataOrPromise;
258-
if (globalThis.allIsGood)
259-
this._updateCounter();
260258
// Replace the potential promise in the cache.
261259
this._blobDataCache[resource] = blobData;
262260
blobData.refCount++;
261+
if (globalThis.allIsGood)
262+
this._updateCounter();
263263
return blobData;
264264
}
265265

0 commit comments

Comments
 (0)