Skip to content
Commit 8b3788ba authored by David Edmundson's avatar David Edmundson
Browse files

[libtaskmanager] Fix shared VirtualDesktopInfo::Private tied to the 1st creator

Summary:
VirtualDesktopInfo::Private is ref counted and shared between N
VirtualDesktopInfo's.

We were passing the first VirtualDesktopInfo as a parent to
VirtualDesktopInfo::Private which didn't manage the lifespan or do
anything useful.

The wayland backend incorrectly used this 'q' object and spanned
mulitple internal objects and connections to the first object that
created the shared private instance, leaving us with dangly objects
inside.

BUG: 415200
(and possibly several other bugs of wayland task manager not updating
correctly)

Test Plan:
Compiles
Plasma still loads

Reviewers: #plasma, zzag

Reviewed By: #plasma, zzag

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27266
parent ae0fafe2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment