Orphaned content script case self-destruction tweaks for apply.js

This commit is contained in:
tophf 2017-03-19 04:59:28 +03:00
parent db560f3ede
commit b77823c365

View File

@ -319,6 +319,7 @@ function initObserver() {
// we can detach the mutation observer // we can detach the mutation observer
// we can't detach chrome.runtime.onMessage because it's no longer connected internally // we can't detach chrome.runtime.onMessage because it's no longer connected internally
iframeObserver.disconnect(); iframeObserver.disconnect();
iframeObserver = null;
// we can destroy global functions in this context to free up memory // we can destroy global functions in this context to free up memory
[ [