mirror of https://github.com/gorhill/uBlock.git
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() {
|
||||
stopWorker.off();
|
||||
workerTTLTimer.off();
|
||||
if ( worker === null ) { return; }
|
||||
worker.terminate();
|
||||
worker = null;
|
||||
|
|
Loading…
Reference in New Issue