mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Clear unprocessed status of removed tabs
This commit is contained in:
parent
e1500ee88d
commit
f0eadae3ba
1 changed files with 3 additions and 0 deletions
|
@ -288,6 +288,9 @@ vAPI.Tabs = class {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
browser.tabs.onRemoved.addListener((tabId, details) => {
|
browser.tabs.onRemoved.addListener((tabId, details) => {
|
||||||
|
if ( vAPI.net ) {
|
||||||
|
vAPI.net.removeUnprocessedRequest(tabId);
|
||||||
|
}
|
||||||
this.onRemovedHandler(tabId, details);
|
this.onRemovedHandler(tabId, details);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue