1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 23:42:39 +01:00

Fix spurious log messages at cleanup

This commit is contained in:
AlexVallat 2015-04-05 17:54:19 +01:00
parent e762a29d30
commit 7b781248f0

View File

@ -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 ) {