test: fix crash in electron::NativeWindowMac::Close() (#31750)
* test: fix crash in electron::NativeWindowMac::Close() * remove extra close
This commit is contained in:
parent
fe7f296339
commit
4b3aed503f
1 changed files with 0 additions and 2 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in a new issue