Skip to content

Commit

Permalink
Fixing issue #262
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinius committed Nov 29, 2021
1 parent 98c1139 commit dd245fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/blockedsource.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class BlockedSource extends BaseSource {
}

// actually await all pending requests
let results = await Promise.allSettled(blockRequests.values());
let results = await Promise.allSettled(Array.from(blockRequests.values()));

// perform retries if a block was interrupted by a previous signal
if (results.some((result) => result.status === 'rejected')) {
Expand Down

0 comments on commit dd245fc

Please sign in to comment.