Skip to content

Commit 62ae079

Browse files
authored
browser(webkit): destroy main window after the view (#2233)
1 parent 76e1066 commit 62ae079

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

browser_patches/webkit/BUILD_NUMBER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1229
1+
1230

browser_patches/webkit/src/Tools/Playwright/win/MainWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ LRESULT CALLBACK MainWindow::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
325325
}
326326
}
327327
break;
328-
case WM_DESTROY:
328+
case WM_NCDESTROY:
329329
SetWindowLongPtr(hWnd, GWLP_USERDATA, 0);
330330
delete thisWindow;
331331
if (s_noStartupWindow || s_numInstances > 0)

0 commit comments

Comments
 (0)