From 936ae9d8f5ccf5224e839bee21697de963299028 Mon Sep 17 00:00:00 2001 From: Jonathan Lipps Date: Wed, 30 Oct 2013 15:52:48 -0700 Subject: [PATCH] don't call start callback in onDie (fix #1391) --- lib/appium.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/appium.js b/lib/appium.js index 197abcfbc..3d344e2e8 100644 --- a/lib/appium.js +++ b/lib/appium.js @@ -488,7 +488,7 @@ Appium.prototype.invoke = function(cb) { // if we're using the safari launcher app, don't end the session when // instruments inevitably crashes out if (!this.isSafariLauncherApp) { - this.cleanupSession(null, cb); + this.cleanupSession(); } }.bind(this);