From b77823c3655e8e624f8fde98d440efbb0f1f3777 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 19 Mar 2017 04:59:28 +0300 Subject: [PATCH] Orphaned content script case self-destruction tweaks for apply.js --- apply.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apply.js b/apply.js index 2d4bc1fb..6ae471b7 100644 --- a/apply.js +++ b/apply.js @@ -319,6 +319,7 @@ function initObserver() { // we can detach the mutation observer // we can't detach chrome.runtime.onMessage because it's no longer connected internally iframeObserver.disconnect(); + iframeObserver = null; // we can destroy global functions in this context to free up memory [