mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Merge pull request #20547 from sht/fix-config-promise
Await configuration loading on Windows
This commit is contained in:
@@ -319,12 +319,7 @@ module.exports = class AtomApplication extends EventEmitter {
|
||||
this.promptForRestart()
|
||||
);
|
||||
});
|
||||
|
||||
// TodoElectronIssue: In electron v2 awaiting the watcher causes some delay
|
||||
// in Windows machines, which affects directly the startup time.
|
||||
if (process.platform !== 'win32') {
|
||||
await this.configFilePromise;
|
||||
}
|
||||
await this.configFilePromise;
|
||||
}
|
||||
|
||||
let optionsForWindowsToOpen = [];
|
||||
|
||||
Reference in New Issue
Block a user