mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
Don't assume WM_DESTROY is last message - listview sends notification after it. Confirmed in Windows 7.
See issue #6026 for more details. svn path=/trunk/; revision=51105
This commit is contained in:
@@ -964,6 +964,9 @@ HardwareDlgProc(IN HWND hwndDlg,
|
||||
|
||||
case WM_DESTROY:
|
||||
{
|
||||
/* zero hpd pointer in window data, because it can be used later (WM_DESTROY has not to be last message) */
|
||||
SetWindowLongPtr(hwndDlg, DWL_USER, (DWORD_PTR)NULL);
|
||||
|
||||
/* free devices list */
|
||||
FreeDevicesList(hpd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user