diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-09 17:02:14 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-06-10 15:30:06 +0000 |
commit | 11ca1ad43cc2def184ff7629e3880ccab6b8a1f1 (patch) | |
tree | f8316d6ef96191f737f1129a424e765714672e10 | |
parent | d0ccf67442a14a1d48435954865c42af744a5117 (diff) |
Resolves: tdf#100248 vcl menu scroll timer still active post dispose
Change-Id: I8988a42e7e505c967661c4a5f3c1e4ef3fbc08e0
(cherry picked from commit f89b9d8b8064a2f323f5b3362f88cb873bad8fcc)
(cherry picked from commit 7def34c0f013b0c9ac1b8ee39e800577bfa800e7)
Reviewed-on: https://gerrit.libreoffice.org/26125
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | vcl/source/window/menufloatingwindow.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/window/menufloatingwindow.cxx b/vcl/source/window/menufloatingwindow.cxx index 2128f08cce28..1cb95ed18f87 100644 --- a/vcl/source/window/menufloatingwindow.cxx +++ b/vcl/source/window/menufloatingwindow.cxx @@ -100,6 +100,12 @@ void MenuFloatingWindow::doShutdown() } pMenu = nullptr; RemoveEventListener( LINK( this, MenuFloatingWindow, ShowHideListener ) ); + + aScrollTimer.Stop(); + aSubmenuCloseTimer.Stop(); + aSubmenuCloseTimer.Stop(); + aHighlightChangedTimer.Stop(); + aHighlightChangedTimer.Stop(); } } |