lib/metricstore/updater.rb
# Be sure to call this after tests, when you want to let go of the object.
Be sure to call this after tests, when you want to let go of the object.
Be sure to call this after tests when you want to let go of the object .
def stop!
      @running = false
      if timer = @timer
        EM.cancel_timer(timer)
        @timer = nil
      end
    end
def stop! @running = false if timer = @timer EM . cancel_timer ( timer ) @timer = nil end end
Be sure to call this after tests, when you want to let go of the object.
Be sure to call this after tests when you want to let go of the object .