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

  # handle  - Node.js timeout handle
  constructor: (@queue, @fn, @delay, @remove)->
    @delay = Math.max(@delay || 0, 0)
    @resume()

  # Resume (also start) this timer
  resume: ->
    return if @handle # already resumed
    fire = =>
      @queue.enqueue =>
        @queue.browser.emit("timeout", @fn, @delay)

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

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

