Suppress the destroy() spec on all platforms

It is also crashing on mac, but just not as frequent as other platforms.
This commit is contained in:
Cheng Zhao 2017-09-14 17:18:45 +09:00
parent 07840906dd
commit af329a9429

View file

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