mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Call serializeForPersistence instead of serialize
This commit is contained in:
@@ -273,7 +273,7 @@ class Atom
|
||||
if windowStatePath = @getWindowStatePath()
|
||||
windowState.saveSync(windowStatePath)
|
||||
else
|
||||
@getCurrentWindow().loadSettings.windowState = JSON.stringify(windowState.serialize())
|
||||
@getCurrentWindow().loadSettings.windowState = JSON.stringify(windowState.serializeForPersistence())
|
||||
|
||||
getWindowState: (keyPath) ->
|
||||
@windowState ?= @loadWindowState()
|
||||
|
||||
Reference in New Issue
Block a user