Skip to content

Commit

Permalink
Use proc instead of lambda to fix S#sync regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Gierth committed Oct 31, 2011
1 parent 7a7cccc commit 65690b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/em-synchrony.rb
Expand Up @@ -46,7 +46,7 @@ module Synchrony
#
def self.sync(df)
f = Fiber.current
xback = lambda do |*args|
xback = proc do |*args|
if f == Fiber.current
return *args
else
Expand Down

0 comments on commit 65690b2

Please sign in to comment.