From 6f3b5df8ef41fe678d056044f58ab781e31f9a7b Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Tue, 11 Apr 2023 10:33:21 -0400 Subject: [PATCH] Fix errand change re. new setTimeout wrapper --- src/js/reverselookup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/reverselookup.js b/src/js/reverselookup.js index 3ed82aff3..fedd9cb3a 100644 --- a/src/js/reverselookup.js +++ b/src/js/reverselookup.js @@ -50,7 +50,7 @@ const onWorkerMessage = function(e) { }; const stopWorker = function() { - stopWorker.off(); + workerTTLTimer.off(); if ( worker === null ) { return; } worker.terminate(); worker = null;