Unsaved modification will be lost when I close multiple windows



Open multiple windows will lost unsaved modification.

Steps to Reproduce

1.Open several Atom Windows.
2.Open a Folder.
3.Write Something and don’t save in that window.
4.Close the window that you wrote something.
5.Close the rest of Windows.
6.Open Atom and you will found that the everything has gone.
I found that If you open that folder in the new window, the code will be lost.

Normally,if you open one window,they won’t be lost.

but if you open another folder first,then open that folder,everything will come back.


Please report this bug at https://github.com/atom/atom/issues and post a link to the issue here. Thanks for tracking this down!