Merge pull request #10514 from electron/mac-crash

Suppress the destroy() spec on all platforms
This commit is contained in:
Cheng Zhao 2017-09-14 17:21:53 +09:00 committed by GitHub
commit 6bf2ec4188

View file

@ -589,13 +589,9 @@ describe('webContents module', function () {
})
})
describe('destroy()', () => {
// Destroying webContents in its event listener is going to crash when
// Electron is built in Debug mode.
if (process.platform !== 'darwin') {
return
}
// Destroying webContents in its event listener is going to crash when
// Electron is built in Debug mode.
xdescribe('destroy()', () => {
let server
before(function (done) {