mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Previously an editor that was split into multiple panes would not prompt to save correctly when the window was unloading. This adds a new `windowCloseRequested` option passed through from the beforeunload handler to the editor so that it can specially handle this case. Closes #5257
11 KiB
11 KiB