Permalink
Browse files

Use proc instead of lambda to fix S#sync regression

  • Loading branch information...
1 parent 7a7cccc commit 65690b2800ad3571909d53ef3983479df52d3be3 @lgierth lgierth committed Oct 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/em-synchrony.rb
View
@@ -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

0 comments on commit 65690b2

Please sign in to comment.