Browse Source

#10: manually imported fixes from e762a29d30

pull/2/head
gorhill 10 years ago
parent
commit
4d8f908022
  1. 6
      platform/firefox/vapi-background.js

6
platform/firefox/vapi-background.js

@ -65,7 +65,11 @@ vAPI.app.restart = function() {
var cleanupTasks = [];
// This must be updated manually, every time a new task is added/removed
var expectedNumberOfCleanups = 7;
// Fixed by github.com/AlexVallat:
// https://github.com/AlexVallat/uBlock/commit/7b781248f00cbe3d61b1cc367c440db80fa06049
// 7 instances of cleanupTasks.push, but one is unique to fennec, and one to desktop.
var expectedNumberOfCleanups = 6;
window.addEventListener('unload', function() {
for ( var cleanup of cleanupTasks ) {

Loading…
Cancel
Save