Skip to content

Commit

Permalink
Fix errand change re. new setTimeout wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Apr 11, 2023
1 parent a5f735b commit 6f3b5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/reverselookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const onWorkerMessage = function(e) {
};

const stopWorker = function() {
stopWorker.off();
workerTTLTimer.off();
if ( worker === null ) { return; }
worker.terminate();
worker = null;
Expand Down

0 comments on commit 6f3b5df

Please sign in to comment.