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:
@ -140,7 +140,7 @@ MainMessageLoopMultithreadedWin::MessageWndProc(HWND hWnd,
|
||||
task->Release();
|
||||
} else {
|
||||
switch (message) {
|
||||
case WM_DESTROY:
|
||||
case WM_NCDESTROY:
|
||||
// Clear the reference to |self|.
|
||||
SetUserDataPtr(hWnd, NULL);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user