From feb6be33f9a02f3e1a99c9ce28ae2675d1a4fd65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Friedemann=20F=C3=BCrst?= Date: Mon, 11 Apr 2022 11:50:47 +0200 Subject: [PATCH] propagate removeListener and cancel through interceptor to underlying stream --- public/content-script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/content-script.js b/public/content-script.js index fccfb26..912e172 100644 --- a/public/content-script.js +++ b/public/content-script.js @@ -117,9 +117,11 @@ function injectors(msgSource) { }; removeListener(eventType, callback) { + this.stream.removeListener(eventType, callback); } cancel() { + this.stream.cancel(); } }