https://bugs.kde.org/show_bug.cgi?id=411371

--- Comment #2 from Friedrich W. H. Kossebau <kosse...@kde.org> ---
Git commit 37d08f752e261f68cc89fd1d0fe6a55b2ee40a22 by Friedrich W. H.
Kossebau.
Committed on 01/09/2019 at 14:05.
Pushed by kossebau into branch '5.4'.

Fix crash on text hint being triggered after disabling code browser plugin

>From KTextEditor::TextHintInterface::registerTextHintProvider() docs:
"When the provider is about to be destroyed, make sure to call
unregisterTextHintProvider() to avoid a dangling pointer."
(new requirement with KF5)

The old code never unregistered in case the ContextBrowserPlugin was
deleted (like it happens when disabling the plugin in the settings in
a running KDevelop instance).

M  +10   -0    plugins/contextbrowser/contextbrowser.cpp
M  +2    -0    plugins/contextbrowser/contextbrowser.h

https://invent.kde.org/kde/kdevelop/commit/37d08f752e261f68cc89fd1d0fe6a55b2ee40a22

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to