Null _timerId in Job#status.

This commit is contained in:
John-David Dalton
2014-05-13 01:20:28 -07:00
parent 69415ea966
commit 347663716c

View File

@@ -599,6 +599,7 @@ Job.prototype.status = function(callback) {
if (this.checking || this.removing || this.resetting || this.restarting || this.starting || this.stopping) {
return this;
}
this._timerId = null;
this.checking = true;
request.post(_.template('https://saucelabs.com/rest/v1/${user}/js-tests/status', this), {
'auth': { 'user': this.user, 'pass': this.pass },