Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use proc instead of lambda to fix S#sync regression

  • Loading branch information...
commit 65690b2800ad3571909d53ef3983479df52d3be3 1 parent 7a7cccc
Lars Gierth lgierth authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/em-synchrony.rb
2  lib/em-synchrony.rb
@@ -46,7 +46,7 @@ module Synchrony
46 46 #
47 47 def self.sync(df)
48 48 f = Fiber.current
49   - xback = lambda do |*args|
  49 + xback = proc do |*args|
50 50 if f == Fiber.current
51 51 return *args
52 52 else

0 comments on commit 65690b2

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