mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Initialize loadTime to null in Atom environment constructor
This commit is contained in:
@@ -152,6 +152,7 @@ class Atom extends Model
|
||||
# Call .loadOrCreate instead
|
||||
constructor: (@state) ->
|
||||
{@mode} = @state
|
||||
@loadTime = null
|
||||
{devMode, safeMode, resourcePath} = @getLoadSettings()
|
||||
configDirPath = @getConfigDirPath()
|
||||
|
||||
@@ -274,8 +275,6 @@ class Atom extends Model
|
||||
|
||||
@setBodyPlatformClass()
|
||||
|
||||
@loadTime = null
|
||||
|
||||
{devMode, safeMode, resourcePath} = @getLoadSettings()
|
||||
configDirPath = @getConfigDirPath()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user