Permalink
Browse files

Fix prompted by harryv

  • Loading branch information...
1 parent 5647ad3 commit 95a01367e3cce78530ed621abccbfa6001a26e03 @raggi committed Sep 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/async/test.rb
@@ -101,7 +101,7 @@ def em_hard_loop
if EM.respond_to?(:tick_loop)
EM.tick_loop { yield }
else
- EM.periodic_timer(0.0001) { yield }
+ EM.add_periodic_timer(0.0001) { yield }
end
end
end

0 comments on commit 95a0136

Please sign in to comment.