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
|
@ -3,5 +3,5 @@ app.on('ready', function () {
|
|||
const web = webContents.create({})
|
||||
new WebContentsView(web) // eslint-disable-line
|
||||
|
||||
process.nextTick(() => app.quit())
|
||||
app.quit()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue