Orphaned content script case self-destruction tweaks for apply.js
This commit is contained in:
parent
db560f3ede
commit
b77823c365
1
apply.js
1
apply.js
|
@ -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
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue
Block a user