electron/spec-main/fixtures/api/leak-exit-webcontentsview.js
2019-08-29 16:17:44 +09:00

7 lines
225 B
JavaScript

const { WebContentsView, app, webContents } = require('electron')
app.on('ready', function () {
const web = webContents.create({})
new WebContentsView(web) // eslint-disable-line
process.nextTick(() => app.quit())
})