Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Make sure spawner gets resumed

  • Loading branch information...
commit c103c7963dc19b3192f9f4c61d7d9f3eec7e0c5a 1 parent ea4b003
Daniel Schierbeck authored June 02, 2010

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

  1. 1  lib/minx.rb
1  lib/minx.rb
@@ -52,6 +52,7 @@ def self.debug?
52 52
   # @raise [ArgumentError] unless a block is given
53 53
   # @see Process#spawn
54 54
   def self.spawn(&block)
  55
+    SCHEDULER.enqueue(Fiber.current)
55 56
     Process.new(&block).spawn
56 57
   end
57 58
 

0 notes on commit c103c79

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