Skip to content

Commit

Permalink
Remove duplicate cleanup() call (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuler authored and sindresorhus committed Dec 23, 2019
1 parent 1fa312b commit 2638400
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Expand Up @@ -48,7 +48,6 @@ const createDelay = ({clearTimeout: defaultClear, setTimeout: set, willResolve})
delayPromise.clear = () => {
clear(timeoutId);
timeoutId = null;
cleanup();
settle();
};

Expand Down

0 comments on commit 2638400

Please sign in to comment.