Skip to content

Commit

Permalink
fix async bug (fix #2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps committed Apr 24, 2014
1 parent 5b4fcfe commit b45fea1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/devices/ios/ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,9 @@ IOS.prototype.startInstruments = function (cb) {
this.postCleanup(function () {
cb(err);
});
} else {
cb();
}
cb();
}.bind(this), function (code, tracedir) {
this.onUnexpectedInstrumentsExit(code, tracedir);
}.bind(this));
Expand Down

0 comments on commit b45fea1

Please sign in to comment.