mirror of
https://github.com/atom/atom.git
synced 2026-02-17 10:01:25 -05:00
Serialize site across window loads
This prevents issues with the site counter resetting to 1 on each load causing duplicate array and marker ids to be generated. Closes #729
This commit is contained in:
@@ -21,7 +21,6 @@ windowEventHandler = null
|
||||
|
||||
# This method is called in any window needing a general environment, including specs
|
||||
window.setUpEnvironment = (windowMode) ->
|
||||
window.site = new telepath.Site(1)
|
||||
atom.windowMode = windowMode
|
||||
window.resourcePath = remote.getCurrentWindow().loadSettings.resourcePath
|
||||
|
||||
|
||||
Reference in New Issue
Block a user