1
0
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:
Raymond Hill 2023-04-11 10:33:21 -04:00
parent a5f735b585
commit 6f3b5df8ef
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -50,7 +50,7 @@ const onWorkerMessage = function(e) {
};
const stopWorker = function() {
stopWorker.off();
workerTTLTimer.off();
if ( worker === null ) { return; }
worker.terminate();
worker = null;