electron/spec/fixtures/api/leak-exit-webcontents.js

7 lines
145 B
JavaScript
Raw Normal View History

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