mirror of
https://github.com/appium/appium.git
synced 2026-02-11 20:39:04 -06:00
@@ -337,7 +337,7 @@ Appium.prototype.cleanupSession = function (err, cb) {
|
||||
this.sessionId = null;
|
||||
this.device = null;
|
||||
this.args = _.clone(this.serverArgs);
|
||||
this.oldDesiredCapabilities = _.clone(this.desiredCapabilities);
|
||||
this.oldDesiredCapabilities = _.clone(this.desiredCapabilities.desired);
|
||||
this.desiredCapabilities = {};
|
||||
if (cb) {
|
||||
if (err) return cb(err);
|
||||
|
||||
Reference in New Issue
Block a user