diff --git a/lib/sequence/index.js b/lib/sequence/index.js index a134ea3..e071336 100644 --- a/lib/sequence/index.js +++ b/lib/sequence/index.js @@ -48,7 +48,7 @@ sequence.stop = function (next) { sequence._state.count = 0 sequence._loop.count = 0 console.dir(sequence._state.stop) - next() + if (next) next() } sequence.pause = function () {