Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Don't complete until the response has come back from the webdriver quit #8

Open
wants to merge 1 commit into from

1 participant

@SlexAxton

I think this occasionally was cutting off the quit request and causing the instance to timeout instead of shutdown immediately. No idea really, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 index.js
View
5 index.js
@@ -131,8 +131,9 @@ Cloud.prototype.start = function(fn){
debug('results %j', res);
self.emit('end', conf, res);
- browser.quit();
- done(null, res);
+ browser.quit(function(){
+ done(null, res);
+ });
});
}
Something went wrong with that request. Please try again.