mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Fix errand change re. new setTimeout wrapper
This commit is contained in:
parent
a5f735b585
commit
6f3b5df8ef
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue