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
2
spec/fixtures/api/leak-exit-webcontents.js
vendored
2
spec/fixtures/api/leak-exit-webcontents.js
vendored
|
@ -2,5 +2,5 @@ const { app, webContents } = require('electron')
|
|||
app.on('ready', function () {
|
||||
webContents.create({})
|
||||
|
||||
process.nextTick(() => app.quit())
|
||||
app.quit()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue