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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-pa/commit/1982415 |ma/plasma-pa/commit/7566285
                   |fc2abdd39a8eeaf4b68a53e05c9 |53dc55a73cfefa5589ce383ffa9
                   |571395                      |5868c1

--- Comment #5 from Nate Graham <n...@kde.org> ---
Git commit 756628553dc55a73cfefa5589ce383ffa95868c1 by Nate Graham, on behalf
of David Redondo.
Committed on 19/05/2021 at 16:06.
Pushed by ngraham into branch 'Plasma/5.22'.

Fix crash when target is destroyed before monitor

The target is saved as a QPointer inside VolumeMonitor. This is generally
a good idea since its lifetime is managed somewhere else. However in this
case this means we are not noticing when it is deleted and cannot distinguish
that from not having a set target. When the VolumeObject is deleted before
the monitor, it would fail to unset the pulseaudio callbacks resulting in
them being called after destruction.


(cherry picked from commit 1982415fc2abdd39a8eeaf4b68a53e05c9571395)

M  +4    -1    src/volumemonitor.cpp
M  +1    -1    src/volumemonitor.h

https://invent.kde.org/plasma/plasma-pa/commit/756628553dc55a73cfefa5589ce383ffa95868c1

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

Reply via email to