Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Dont call super for fibers

  • Loading branch information...
commit 6f64814a9a40d81d22f50a1be65c0c0144a4ce48 1 parent 7e4e453
@lifo lifo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cramp/fiber_pool.rb
View
4 lib/cramp/fiber_pool.rb
@@ -22,11 +22,11 @@ module UsesFiberPool
# Overrides wrapper methods to run callbacks in a fiber
def callback_wrapper
- self.fiber_pool.spawn { super }
+ self.fiber_pool.spawn { yield }
end
def timer_method_wrapper(method)
- self.fiber_pool.spawn { super }
+ self.fiber_pool.spawn { send(method) }
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.