fix: quit after Chromium is fully started (#21488)

* fix: quit when chromium is fully started

* test: remove hacks on app.quit

* chore: RunUntilIdle is unnecessary
This commit is contained in:
Cheng Zhao 2019-12-13 18:57:02 +09:00 committed by GitHub
parent b9a250a623
commit f9a1dc10fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 17 deletions

View file

@ -9,7 +9,5 @@ app.on('ready', () => {
process.stdout.write(JSON.stringify(payload))
process.stdout.end()
setImmediate(() => {
app.quit()
})
app.quit()
})