     super
 
     @emitter = new Emitter
+    @subscriptions = new CompositeDisposable
     @items = []
 
     @addItems(compact(params?.items ? []))

{find, compact, extend, last} = require 'underscore-plus'
{Model} = require 'theorist'
{Emitter} = require 'event-kit'
Serializable = require 'serializable'
Grim = require 'grim'
PaneAxis = require './pane-axis'

    @container.activateNextPane() if @isActive()
    @emitter.emit 'did-destroy'
    @emitter.dispose()
    @subscriptions.dispose()
    item.destroy?() for item in @items.slice()
    @container?.didDestroyPane(pane: this)

