Skip to content

Commit

Permalink
Better fix for errors.
Browse files Browse the repository at this point in the history
Removing {signal} reference to listener which seems to reference an
already removed object.
  • Loading branch information
Your Name committed Nov 10, 2024
1 parent 151bb67 commit 99a7017
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/advanced-editors-messenger.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ function unsafeMessenger() {
});
}, {signal});

// target.addEventListener('gt:kill', () => {
// controller.abort();
// clearInterval(interval);
// }, {signal});
target.addEventListener('gt:kill', () => {
controller.abort();
clearInterval(interval);
});
}

function codeMirror5(target) {
Expand Down

0 comments on commit 99a7017

Please sign in to comment.