electron/spec/fixtures/api/leak-exit-webcontents.js
Cheng Zhao f9a1dc10fe
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
2019-12-13 18:57:02 +09:00

6 lines
121 B
JavaScript

const { app, webContents } = require('electron')
app.on('ready', function () {
webContents.create({})
app.quit()
})