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

6 lines
130 B
JavaScript

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