mirror of
https://github.com/appium/appium.git
synced 2026-10-29 12:41:58 +08:00
delete opts when session is deleted
This commit is contained in:
@@ -50,6 +50,7 @@ commands.deleteSession = async function () {
|
||||
if (this.noCommandTimer) {
|
||||
clearTimeout(this.noCommandTimer);
|
||||
}
|
||||
this.opts = this.initialOpts;
|
||||
this.noCommandTimer = null;
|
||||
this.sessionId = null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user