mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug #1053839 - Don't do anything with the preview on WM_DESTROY - r=jmathies
This commit is contained in:
parent
00b7e92c82
commit
5ec80a0c5e
@ -407,7 +407,7 @@ TaskbarPreview::MainWindowHook(void *aContext,
|
||||
if (nMsg == WM_DESTROY) {
|
||||
// nsWindow is being destroyed
|
||||
// We can't really do anything at this point including removing hooks
|
||||
preview->mWnd = nullptr;
|
||||
return false;
|
||||
} else {
|
||||
nsWindow *window = WinUtils::GetNSWindowPtr(preview->mWnd);
|
||||
if (window) {
|
||||
|
Loading…
Reference in New Issue
Block a user