mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
Finally removed memory leak?
This commit is contained in:
parent
70a16e55a6
commit
77ea4f4b6d
Binary file not shown.
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user