Skip to content

Commit

Permalink
issue #245 - context is ok but flows.trampoline was returning undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
bjouhier committed Nov 8, 2014
1 parent 1bca743 commit f0e15a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ g.withContext = function(fn, cx) {
var oldContext = g.context;
g.context = cx || {};
try {
fn.apply(this, arguments)
return fn.apply(this, arguments)
} finally {
g.context = oldContext;
}
Expand Down

0 comments on commit f0e15a9

Please sign in to comment.