# File lib/cool.io/eventmachine.rb, line 53 def cancel_timer(t) # guess there's a case where EM you can say 'cancel' but it's already fired? # kind of odd but it happens t.detach if t.attached? end