Skip to content

Commit

Permalink
Merge pull request #309 from Turbo87/patch-1
Browse files Browse the repository at this point in the history
utils/rawTimeout: Use `clearTimeout()` instead of `clearInterval()`
  • Loading branch information
machty committed Jul 23, 2019
2 parents b0b4778 + 55b7a40 commit 94e8c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export function rawTimeout(ms) {
taskInstance.proceed(resumeIndex, YIELDABLE_CONTINUE, this._result);
}, ms);
return () => {
window.clearInterval(timerId);
clearTimeout(timerId);
};
}
};
Expand Down

0 comments on commit 94e8c62

Please sign in to comment.