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:
parent
b9a250a623
commit
f9a1dc10fe
8 changed files with 24 additions and 17 deletions
4
spec/fixtures/api/command-line/main.js
vendored
4
spec/fixtures/api/command-line/main.js
vendored
|
@ -9,7 +9,5 @@ app.on('ready', () => {
|
|||
process.stdout.write(JSON.stringify(payload))
|
||||
process.stdout.end()
|
||||
|
||||
setImmediate(() => {
|
||||
app.quit()
|
||||
})
|
||||
app.quit()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue