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

6 lines
166 B
JavaScript

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