vcl/source/window/winproc.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 3c0938c9bb63fa65ea44439b4e838ed0d9fa1260 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Jun 14 13:53:51 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Jun 14 16:12:13 2021 +0200
tdf#142393 crash on filter by color dropdownlist (gen) the frame/window can become disposed during the early stages of this method Change-Id: I974cbeefa75a3b5274e397a6da70db8b7cf73528 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117157 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 80e306b17625..0504ab4c7df1 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -509,6 +509,8 @@ bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, MouseNotifyEvent pMouseDownWin->ImplGetFrameData()->mbStartDragCalled = true; } + if (xWindow->isDisposed()) + return true; // test for mouseleave and mouseenter VclPtr<vcl::Window> pMouseMoveWin = pWinFrameData->mpMouseMoveWin; if ( pChild != pMouseMoveWin ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits