mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Merge pull request #18545 from captbaritone/config-race
Avoid sending async updates on config update
This commit is contained in:
@@ -576,7 +576,7 @@ class AtomApplication extends EventEmitter {
|
||||
|
||||
this.disposable.add(ipcHelpers.respondTo('set-user-settings', (window, settings, filePath) => {
|
||||
if (!this.quitting) {
|
||||
ConfigFile.at(filePath || this.configFilePath).update(JSON.parse(settings))
|
||||
return ConfigFile.at(filePath || this.configFilePath).update(JSON.parse(settings))
|
||||
}
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user