Skip to content

Commit

Permalink
Ensure em-synchrony HTTPMethods inclusion.
Browse files Browse the repository at this point in the history
  • Loading branch information
oruen committed Mar 3, 2012
1 parent d6b1285 commit 34de75d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ def self.disable!

module EventMachine

if defined?(Synchrony)
if defined?(Synchrony) && HTTPMethods.instance_methods.include?(:aget)
# have to make the callbacks fire on the next tick in order
# to avoid the dreaded "double resume" exception
module HTTPMethods
Expand Down

0 comments on commit 34de75d

Please sign in to comment.