mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Never save window state in the middle of quitting
This commit is contained in:
@@ -64,7 +64,10 @@ class WindowEventHandler
|
||||
|
||||
atom.storeDefaultWindowDimensions()
|
||||
atom.storeWindowDimensions()
|
||||
atom.unloadEditorWindow() if confirmed
|
||||
if confirmed
|
||||
atom.unloadEditorWindow()
|
||||
else
|
||||
ipc.send('cancel-window-close')
|
||||
|
||||
confirmed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user