From 7b781248f00cbe3d61b1cc367c440db80fa06049 Mon Sep 17 00:00:00 2001 From: AlexVallat Date: Sun, 5 Apr 2015 17:54:19 +0100 Subject: [PATCH] Fix spurious log messages at cleanup --- platform/firefox/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 982a0c54f..ede2a97ff 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -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 ) {