browser(webkit): destroy main window after the view (#2233)
This commit is contained in:
parent
76e106605f
commit
62ae079035
|
|
@ -1 +1 @@
|
|||
1229
|
||||
1230
|
||||
|
|
|
|||
|
|
@ -325,7 +325,7 @@ LRESULT CALLBACK MainWindow::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPA
|
|||
}
|
||||
}
|
||||
break;
|
||||
case WM_DESTROY:
|
||||
case WM_NCDESTROY:
|
||||
SetWindowLongPtr(hWnd, GWLP_USERDATA, 0);
|
||||
delete thisWindow;
|
||||
if (s_noStartupWindow || s_numInstances > 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue