fix: shutdown after message loop is ready (#16671)

This commit is contained in:
Cheng Zhao 2019-02-02 00:21:49 +09:00 committed by John Kleinschmidt
parent ab503c7e43
commit 31c7ed9b8c
7 changed files with 14 additions and 38 deletions

View file

@ -916,13 +916,6 @@ describe('webContents module', () => {
})
describe('create()', () => {
before(function () {
// FIXME(jkleinsc): Test is consistently failing on Windows 32 bit.
if (process.arch === 'ia32') {
this.skip()
}
})
it('does not crash on exit', async () => {
const appPath = path.join(__dirname, 'fixtures', 'api', 'leak-exit-webcontents.js')
const electronPath = remote.getGlobal('process').execPath