mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
fix: process.exit crash in nativeWindowOpen (#30218)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user