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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-thunderbolt/commi
                   |                            |t/8363502d2289524e5336a1928
                   |                            |637fb316282163a

--- Comment #2 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 8363502d2289524e5336a1928637fb316282163a by David Edmundson.
Committed on 15/06/2020 at 22:39.
Pushed by davidedmundson into branch 'Plasma/5.19'.

Don't set a parent on sharedpointer mangaed object

Device follows a pattern of being managed in QSharedPointers
At this point having a parent for the purposes of memory management
doesn't help.

The kded class can keep a reference to the device in pendingDevices,
this owns the manager so will drop it's reference after the manager is
gone.

M  +6    -6    src/lib/device.cpp
M  +4    -5    src/lib/device.h
M  +2    -2    src/lib/manager.cpp

https://invent.kde.org/plasma/plasma-thunderbolt/commit/8363502d2289524e5336a1928637fb316282163a

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

Reply via email to