     unless @fakeViewsDestroyed
       @fakeFinderView?.destroy()
       @fakeTabView?.removePane_ @fakeTerminalPane
-      @createNewTerminal { machine }
+      @createNewTerminal { machine, resurrectSessions: yes }
       @setActiveTabView @ideViews.first.tabView
       @fakeViewsDestroyed = yes
 

    # `path` is always the one we send explicitly here - SY
    path = null  unless typeof path is 'string'

    @activeTabView.emit 'TerminalPaneRequested', options



      ideViewLength  = 0
      ideViewLength += ideView.tabView.panes.length  for ideView in @ideViews
      delete @generatedPanes[pane.view.hash]

      if session = pane.view.remote?.session
        @mountedMachine.getBaseKite().removeFromActiveSessions session

      @statusBar.showInformation()  if ideViewLength is 0

