use correct shutdown call signature to fix real safari hanging on DELETE session

fix #3244
This commit is contained in:
Jonathan Lipps
2014-07-29 10:35:08 -07:00
parent b014ae1b4a
commit caeb3bafbf

View File

@@ -151,7 +151,7 @@ Safari.prototype._stop = IOS.prototype.stop;
Safari.prototype.stop = function (cb) {
if (this.args.udid) {
logger.debug("Stopping safariLauncher");
this.shutdown(null, null, cb);
this.shutdown(null, cb);
} else {
this._stop(cb);
}