about summary refs log tree commit homepage
path: root/lib/rainbows/thread_spawn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/thread_spawn.rb')
-rw-r--r--lib/rainbows/thread_spawn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/thread_spawn.rb b/lib/rainbows/thread_spawn.rb
index acdaa69..d2d41e8 100644
--- a/lib/rainbows/thread_spawn.rb
+++ b/lib/rainbows/thread_spawn.rb
@@ -31,7 +31,7 @@ module Rainbows::ThreadSpawn
             klass.new(c) do |c|
               begin
                 lock.synchronize { G.cur += 1 }
-                process_client(c)
+                c.process_loop
               ensure
                 lock.synchronize { G.cur -= 1 }
               end