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

7 lines
128 B
JavaScript

const { app, webContents } = require('electron');
app.whenReady().then(function () {
webContents.create();
app.quit();
});