Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWr committed Oct 18, 2022
1 parent 0117103 commit bde3e4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/helpers/get-descriptor-addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export function getDescriptorAddon() {
isolateCallback(cb, ...args) {
this.isAbortingSuspended = true;
// try...catch is required in case if there are more than one inline scripts
// which should be aborted
// which should be aborted.
// so after the first successful abortion, `cb(...args);` will throw error,
// and we should not stop on that and continue to abort other scripts
try {
const result = cb(...args);
this.isAbortingSuspended = false;
Expand Down

0 comments on commit bde3e4b

Please sign in to comment.