clearTimeout first

This commit is contained in:
Tony Brix 2019-04-25 16:20:21 -05:00
parent 431da38397
commit 64716578e6

View File

@ -139,8 +139,8 @@ var markedTimeout = setTimeout(() => {
}, timeoutLimit);
markedWorker.onmessage = (e) => {
var html = e.data;
clearTimeout(markedTimeout);
var html = e.data;
console.log(html);
markedWorker.terminate();
};