We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f5a389 commit bcd1fdaCopy full SHA for bcd1fda
1 file changed
src/inflight-manager.ts
@@ -174,10 +174,8 @@ export function setInFlightPromise(
174
): void {
175
const item = inFlight.get(key);
176
if (item) {
177
- // store the promise at index 4
+ // store the promise at index 4 — item is already the Map's reference, no need to re-set
178
item[4] = promise;
179
-
180
- inFlight.set(key, item);
181
}
182
183
0 commit comments