fix: shutdown after message loop is ready (#16671)
This commit is contained in:
		
					parent
					
						
							
								ab503c7e43
							
						
					
				
			
			
				commit
				
					
						31c7ed9b8c
					
				
			
		
					 7 changed files with 14 additions and 38 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue