Skip to content
Myr

Fixed bug recently introduced preventing plugin events to trigger

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 451679c · Browse files · 2 files+6 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−2 removed

  • other:+6 added−2 removed

2 files+6 added−2 removed

modified:lib/express/request.js+5 added-1 removed
319 unmodified lines
320 ;(function next(err) {321 if (err || complete === total)322 callback(err)323 else {324 if (plugins[complete++].trigger(new Event(name, data), next) !== true)324 // TODO: remove when this issue is resolved...325 if (plugins[complete] === undefined)326 ++complete,327 next()328 else if (plugins[complete++].trigger(new Event(name, data), next) !== true)329 next()330 }331 })()332 return this333 },
95 unmodified lines
modified:Makefile+1 added-1 removed
11 2AB = ab3ABFLAGS = -n 3000 -c 504NODE = node5COFFEE = coffee
38 unmodified lines