Skip to content

Commit

Permalink
Ensure resolving the promise keeping the old "public" API
Browse files Browse the repository at this point in the history
  • Loading branch information
smalluban committed Aug 16, 2022
1 parent 11cc91c commit ba6b3a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/adblocker-webextension/adblocker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,12 @@ export class WebExtensionBlocker extends FiltersEngine {
scripts,
styles: '',
});
return;
}
}

await Promise.all(promises);
sendResponse();
};

/**
Expand Down

0 comments on commit ba6b3a3

Please sign in to comment.