1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-05-29 09:28:06 +02: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){
if (prefs.allowPDFCanvas){
worker.port.emit("unblock");
this.emit("unblock");
}
else {
worker.port.emit(blocking, true);
this.emit(blocking, true);
}
});
worker.port.emit("setTranslation", "askForPermission", _("askForPermission"));