# File lib/em/tick_loop.rb, line 52
    def stop
      @stopped = true
      until @stops.empty?
        @stops.shift.call
      end
    end