electron/spec-main/fixtures/api/leak-exit-browserview.js
2020-03-20 13:28:31 -07:00

6 lines
150 B
JavaScript

const { BrowserView, app } = require('electron');
app.whenReady().then(function () {
new BrowserView({}) // eslint-disable-line
app.quit();
});