mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
The project contains the only reference to the buffer that belongs to the edit session in the serialized pane. If we tear down the pane then the edit session is destroyed and the buffer is removed. So we have to serialize and restore the project to its previous state once we finish tearing down the view.