mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
Fix spurious log messages at cleanup
This commit is contained in:
parent
e762a29d30
commit
7b781248f0
@ -65,7 +65,7 @@ vAPI.app.restart = function() {
|
||||
var cleanupTasks = [];
|
||||
|
||||
// This must be updated manually, every time a new task is added/removed
|
||||
var expectedNumberOfCleanups = 7;
|
||||
var expectedNumberOfCleanups = 6; // 7 instances of cleanupTasks.push, but one is unique to fennec, and one to desktop.
|
||||
|
||||
window.addEventListener('unload', function() {
|
||||
for ( var cleanup of cleanupTasks ) {
|
||||
|
Loading…
Reference in New Issue
Block a user