diff --git a/source/advanced-editors-messenger.js b/source/advanced-editors-messenger.js index ee5034d..2a5530f 100644 --- a/source/advanced-editors-messenger.js +++ b/source/advanced-editors-messenger.js @@ -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) {