mirror of
https://github.com/appium/appium.git
synced 2026-02-10 03:38:49 -06:00
fix fastReset going undefined between sessions (fix #2087)
This commit is contained in:
@@ -24,6 +24,7 @@ var DT_IOS = "ios"
|
||||
|
||||
var Appium = function (args) {
|
||||
this.args = args;
|
||||
this.args.fastReset = !this.args.fullReset && !this.args.noReset;
|
||||
this.serverArgs = _.clone(args);
|
||||
this.rest = null;
|
||||
this.webSocket = null;
|
||||
@@ -34,8 +35,6 @@ var Appium = function (args) {
|
||||
this.oldDesiredCapabilities = {};
|
||||
this.session = null;
|
||||
this.preLaunched = false;
|
||||
this.fastReset = !this.args.fullReset && !this.args.noReset;
|
||||
this.args.fastReset = this.fastReset;
|
||||
this.sessionOverride = this.args.sessionOverride;
|
||||
this.resetting = false;
|
||||
this.defCommandTimeoutMs = this.args.defaultCommandTimeout * 1000;
|
||||
|
||||
Reference in New Issue
Block a user