# File lib/em/pure_ruby.rb, line 380
    def stop
      raise Error.new( "not running") unless @running
      @stop_scheduled = true
    end