Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a critical bug

  • Loading branch information...
commit 386d0bf83b267443442e8e0e2d728f06a5b956de 1 parent ab332c9
penartur authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 lib/benchmark.js
6 lib/benchmark.js
@@ -69,11 +69,11 @@ Benchmark.prototype.init = function (done) {
69 69
70 70 Benchmark.prototype.doRun = function (simultaneousRequests, callback, over) {
71 71 this.init((function () {
72   - var context = new BenchmarkContext(this, simultaneousRequests, callback);
73   - context.run(function (simultaneousRequests, stats) {
  72 + var context = new BenchmarkContext(this, simultaneousRequests, function (simultaneousRequests, stats) {
74 73 callback(simultaneousRequests, stats);
75 74 over();
76   - })
  75 + });
  76 + context.run()
77 77 }).bind(this));
78 78 }
79 79

0 comments on commit 386d0bf

Please sign in to comment.
Something went wrong with that request. Please try again.