don't call start callback in onDie (fix #1391)

This commit is contained in:
Jonathan Lipps
2013-10-30 15:52:48 -07:00
parent bd0c1a98ca
commit 936ae9d8f5

View File

@@ -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);