fix: process.exit crash in nativeWindowOpen (#30218)
This commit is contained in:
parent
eca1098b55
commit
b24cfe17bc
4 changed files with 50 additions and 1 deletions
|
@ -154,7 +154,7 @@ void BrowserWindow::RenderFrameCreated(
|
|||
}
|
||||
|
||||
void BrowserWindow::DidFirstVisuallyNonEmptyPaint() {
|
||||
if (window()->IsVisible())
|
||||
if (window()->IsClosed() || window()->IsVisible())
|
||||
return;
|
||||
|
||||
// When there is a non-empty first paint, resize the RenderWidget to force
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue