[client] Add context pointer to connects in PlasmaWindowModel
ClosedPublic

Authored by graesslin on May 17 2016, 10:13 AM.

Details

Summary

When the model gets destroyed the lambda connections were still invoked
and could cause crashers.

Test Plan

Test case added and each one verified that it crashed

Diff Detail

Repository
R127 KWayland
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 3834.May 17 2016, 10:13 AM
graesslin retitled this revision from to [client] Add context pointer to connects in PlasmaWindowModel.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: Plasma, hein.
Restricted Application added a project: Plasma. · View Herald TranscriptMay 17 2016, 10:13 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.May 17 2016, 10:14 AM
hein edited edge metadata.
This revision is now accepted and ready to land.May 17 2016, 10:14 AM
This revision was automatically updated to reflect the committed changes.