D9859: Fix crash when destroying tabletmodemanager
Martin Flöser
noreply at phabricator.kde.org
Sat Jan 13 15:44:03 UTC 2018
graesslin created this revision.
graesslin added reviewers: KWin, Plasma, mart.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.
graesslin requested review of this revision.
Restricted Application edited projects, added Plasma; removed KWin.
REVISION SUMMARY
The dtor deleted the input event spy. But ownership of spies is with
Input. This change ensures that there is no double delete and passes
ownership of TabletModeManager also to input, to get it deleted in the
right moment.
BUG: 388910
REPOSITORY
R108 KWin
BRANCH
fix-dtor-crash-tabletmodemanager
REVISION DETAIL
https://phabricator.kde.org/D9859
AFFECTED FILES
main_wayland.cpp
tabletmodemanager.cpp
To: graesslin, #kwin, #plasma, mart
Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180113/599b9d1a/attachment.html>
More information about the Plasma-devel
mailing list