mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: Wait for WM_NCDESTROY before calling OnBeforeClose (issue #2248)
This commit is contained in:
@@ -634,7 +634,7 @@ LRESULT CALLBACK RootWindowWin::RootWndProc(HWND hWnd,
|
||||
SetUserDataPtr(hWnd, NULL);
|
||||
self->hwnd_ = NULL;
|
||||
self->OnDestroyed();
|
||||
return 0;
|
||||
break;
|
||||
}
|
||||
|
||||
return DefWindowProc(hWnd, message, wParam, lParam);
|
||||
|
Reference in New Issue
Block a user