mirror of
https://github.com/atom/atom.git
synced 2026-01-27 15:58:00 -05:00
Call AtomEnvironment::deserialize in AtomEnvironment::loadStateSync
This commit is contained in:
@@ -813,6 +813,9 @@ class AtomEnvironment extends Model
|
||||
catch error
|
||||
console.warn "Error parsing window state: #{statePath} #{error.stack}", error
|
||||
|
||||
@deserialize(state) if state?
|
||||
|
||||
deserialize: (state) ->
|
||||
@deserializeTimings.atom = Date.now() - startTime
|
||||
|
||||
if grammarOverridesByPath = state.grammars?.grammarOverridesByPath
|
||||
|
||||
Reference in New Issue
Block a user