Skip to content

Commit

Permalink
clearTimeout first
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Apr 25, 2019
1 parent 431da38 commit 6471657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/USING_ADVANCED.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};
Expand Down

0 comments on commit 6471657

Please sign in to comment.