electron/spec/fixtures/crash-cases/webcontentsview-create-leak-exit/index.js

8 lines
172 B
JavaScript
Raw Normal View History

const { WebContentsView, app } = require('electron');
app.whenReady().then(function () {
// eslint-disable-next-line no-new
new WebContentsView({});
2020-03-20 20:28:31 +00:00
app.quit();
});