1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-01-18 09:28:52 +01:00

Finally removed memory leak?

This commit is contained in:
kkapsner 2014-10-05 15:08:01 +02:00
parent 70a16e55a6
commit 77ea4f4b6d
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -148,10 +148,10 @@
// }); // });
worker.port.on("isPDF", function(blocking){ worker.port.on("isPDF", function(blocking){
if (prefs.allowPDFCanvas){ if (prefs.allowPDFCanvas){
worker.port.emit("unblock"); this.emit("unblock");
} }
else { else {
worker.port.emit(blocking, true); this.emit(blocking, true);
} }
}); });
worker.port.emit("setTranslation", "askForPermission", _("askForPermission")); worker.port.emit("setTranslation", "askForPermission", _("askForPermission"));