Browse Source

test: fix crash in electron::NativeWindowMac::Close() (#31750)

* test: fix crash in electron::NativeWindowMac::Close()

* remove extra close
John Kleinschmidt 3 years ago
parent
commit
4b3aed503f
1 changed files with 0 additions and 2 deletions
  1. 0 2
      spec-main/api-browser-window-spec.ts

+ 0 - 2
spec-main/api-browser-window-spec.ts

@@ -4162,8 +4162,6 @@ describe('BrowserWindow module', () => {
         const leaveFullScreen = emittedOnce(w, 'leave-full-screen');
         w.setFullScreen(false);
         await leaveFullScreen;
-
-        w.close();
       });
 
       it('can be changed with setFullScreen method', async () => {