     if @listeners.length == 1
       setImmediate =>
         if @active
-          @active._eventQueue.resume()
           @run()
 
     return promise

  # switches to processing events from this window's queue.
  setActiveWindow: (window)->
    return if window == @active
    if @active
      @active._eventQueue.suspend()
    @active = window
    if @active
      @active._eventQueue.resume()
      @run() # new window, new events

  # Call this method when you know an event is coming, but don't have the event

    @handle = global.setTimeout(fire, @delay)
    @next = Date.now() + @delay

  # clearTimeout
  stop: ->
    global.clearTimeout(@handle)
    @remove()

