Skip to content

Commit

Permalink
fix: don't mark a browser captured if already being killed/timeouted
Browse files Browse the repository at this point in the history
Closes #88
  • Loading branch information
vojtajina committed Aug 19, 2013
1 parent 40683b3 commit 2123097
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/launchers/Base.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ var BaseBrowser = function(id, emitter, captureTimeout, retryLimit) {


this.markCaptured = function() {
self.state = CAPTURED;
if (self.state === BEING_CAPTURED) {
self.state = CAPTURED;
}
};


Expand Down

0 comments on commit 2123097

Please sign in to comment.