 
     @subscribe @items.onRemoval (item, index) =>
       @unsubscribe item if typeof item.on is 'function'
-      @emit 'item-removed', item, index, @destroyingItem
-
-    @when @items.$length.becomesLessThan(1), 'destroy'
 
     @when @$focused, => @makeActive()
 

    @emit 'before-item-destroyed', item
    if @promptToSaveItem(item)
      @emit 'item-destroyed', item
      @destroyingItem = true
      @removeItem(item)
      @destroyingItem = false
      item.destroy?()
      true
    else

      .map((activePane) => activePane is this)
      .distinctUntilChanged()

  constructor: (params) ->
    super

