Skip to content

Commit

Permalink
Updated to always render that last item to ensure previews are good
Browse files Browse the repository at this point in the history
  • Loading branch information
Johanndutoit committed Sep 19, 2017
1 parent 08ee341 commit 18bcd1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,6 @@ module.exports = exports = function(options) {
return callback();

}

// we be done ... :)
VARS.running = false;

// stop capturing steps
if(VARS.timer) clearInterval(VARS.timer);
Expand Down Expand Up @@ -1368,6 +1365,9 @@ module.exports = exports = function(options) {
**/
ChromePage.end = function(params) {

// set running
VARS.running = false;

// skip first end
if(!params.result) return;

Expand Down

0 comments on commit 18bcd1c

Please sign in to comment.