From 8cfebee922c00bf0e40c6d4ed697a25627e98755 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 6 May 2014 05:21:11 -0700 Subject: [PATCH] Remove `id` check from `Job#stop`. --- test/saucelabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/saucelabs.js b/test/saucelabs.js index e438d4702..0a5a76e5b 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -611,7 +611,7 @@ Job.prototype.stop = function(callback) { this.statusId = clearTimeout(this.statusId); } var onStop = _.bind(onJobStop, this); - if (this.id == null || !this.running) { + if (!this.running) { _.defer(onStop); return this; }