diff --git a/src/atom-environment.coffee b/src/atom-environment.coffee index fd8a2f201..2619d5773 100644 --- a/src/atom-environment.coffee +++ b/src/atom-environment.coffee @@ -306,7 +306,7 @@ class AtomEnvironment extends Model @project = null @commands.clear() @stylesElement.remove() - @config.destroy() + @config.unobserveUserConfig() @uninstallWindowEventHandler() diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 299dc2adb..b68ee2c73 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -212,7 +212,6 @@ class AtomApplication @openPathOnEvent('application:open-license', path.join(process.resourcesPath, 'LICENSE.md')) app.on 'before-quit', => - @saveBlobStore() @saveState(false) @quitting = true @@ -434,9 +433,6 @@ class AtomApplication console.log("Killing process #{pid} failed: #{error.code ? error.message}") delete @pidsToOpenWindows[pid] - saveBlobStore: -> - @windows[0]?.saveBlobStore() - saveState: (allowEmpty=false) -> return if @quitting states = [] diff --git a/src/browser/atom-window.coffee b/src/browser/atom-window.coffee index 73b8a05b8..16456d274 100644 --- a/src/browser/atom-window.coffee +++ b/src/browser/atom-window.coffee @@ -75,9 +75,6 @@ class AtomWindow hasPathToOpen = not (locationsToOpen.length is 1 and not locationsToOpen[0].pathToOpen?) @openLocations(locationsToOpen) if hasPathToOpen and not @isSpecWindow() - saveBlobStore: -> - @browserWindow.webContents?.send('save-blob-store') - setLoadSettings: (loadSettingsObj) -> # Ignore the windowState when passing loadSettings via URL, since it could # be quite large. diff --git a/src/config.coffee b/src/config.coffee index dd002327c..663dbb777 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -360,10 +360,6 @@ class Config @save() debouncedSave = _.debounce(save, 100) - destroy: -> - @clear() - @unobserveUserConfig() - shouldNotAccessFileSystem: -> not @enablePersistence ###