Ensure em-synchrony HTTPMethods inclusion. #166

Merged
merged 1 commit into from Mar 5, 2012
@@ -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