Fix spurious log messages at cleanup

This commit is contained in:
AlexVallat 2015-04-05 17:54:19 +01:00
parent e762a29d30
commit 7b781248f0
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ vAPI.app.restart = function() {
var cleanupTasks = []; var cleanupTasks = [];
// This must be updated manually, every time a new task is added/removed // 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() { window.addEventListener('unload', function() {
for ( var cleanup of cleanupTasks ) { for ( var cleanup of cleanupTasks ) {