Initialize loadTime to null in Atom environment constructor

This commit is contained in:
Nathan Sobo
2015-09-29 19:59:03 -06:00
parent bcabd0b8a9
commit eead10a9c5

View File

@@ -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()