From d618c16f99355a0f6e2819b551416ecfeb08f3e6 Mon Sep 17 00:00:00 2001 From: Fan Bai Date: Fri, 6 Jun 2014 12:10:49 +0800 Subject: [PATCH] Remove setting sessionOverride to false Remove setting sessionOverride to false when cleaning up the session. This parameter should left as it is. Users may specify this value to true in the args when starting Appium server. However, once a session is cleared, this parameter would be as it was, instead of setting it to false. --- lib/appium.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/appium.js b/lib/appium.js index 683ce662f..432531ba5 100644 --- a/lib/appium.js +++ b/lib/appium.js @@ -336,7 +336,6 @@ Appium.prototype.cleanupSession = function (err, cb) { this.commandTimeoutMs = this.defCommandTimeoutMs; var dyingSession = this.sessionId; this.sessionId = null; - this.sessionOverride = false; this.device = null; this.args = _.clone(this.serverArgs); this.oldDesiredCapabilities = _.clone(this.desiredCapabilities);