user32/edit: Check for edit window to be here in case of destruction during handler execution.
This commit is contained in:
parent
0e16d4cd5b
commit
aa737174f0
|
@ -5390,7 +5390,7 @@ static LRESULT EditWndProc_common( HWND hwnd, UINT msg,
|
|||
break;
|
||||
}
|
||||
|
||||
if (es) EDIT_UnlockBuffer(es, FALSE);
|
||||
if (IsWindow(hwnd) && es) EDIT_UnlockBuffer(es, FALSE);
|
||||
|
||||
TRACE("hwnd=%p msg=%x (%s) -- 0x%08lx\n", hwnd, msg, SPY_GetMsgName(msg, hwnd), result);
|
||||
|
||||
|
|
Loading…
Reference in New Issue