mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-04 16:47:15 +02:00
Fix errand change re. new setTimeout wrapper
This commit is contained in:
parent
a5f735b585
commit
6f3b5df8ef
@ -50,7 +50,7 @@ const onWorkerMessage = function(e) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const stopWorker = function() {
|
const stopWorker = function() {
|
||||||
stopWorker.off();
|
workerTTLTimer.off();
|
||||||
if ( worker === null ) { return; }
|
if ( worker === null ) { return; }
|
||||||
worker.terminate();
|
worker.terminate();
|
||||||
worker = null;
|
worker = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user