Fix crash when destroying tabletmodemanager
AbandonedPublic

Authored by graesslin on Jan 13 2018, 3:43 PM.

Details

Reviewers
mart
Group Reviewers
KWin
Plasma
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

Diff Detail

Repository
R108 KWin
Branch
fix-dtor-crash-tabletmodemanager
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin created this revision.Jan 13 2018, 3:43 PM
Restricted Application added a project: KWin. · View Herald TranscriptJan 13 2018, 3:43 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
graesslin requested review of this revision.Jan 13 2018, 3:43 PM
Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptJan 13 2018, 3:43 PM
Restricted Application edited projects, added KWin; removed Plasma. · View Herald TranscriptJan 15 2018, 4:53 PM