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

--- Comment #5 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 557b3825b27187a8bb0a85d21a8f58c041a96e57 by Vlad Zahorodnii.
Committed on 25/01/2022 at 07:59.
Pushed by vladz into branch 'master'.

Make data source objects "parentless"

The SeatInterface cleans up currentSelection and currentPrimarySelection
when the AbstractDataSource::aboutToBeDestroyed() signal is emitted, but
since the data source and primary data source have parent objects, they
can be potentially destroyed without emitting the aboutToBeDestroyed()
signal and thus leaving dangling pointers in SeatInterface.

M  +1    -2    src/server/datasource_interface.cpp
M  +1    -2    src/server/primaryselectionsource_v1_interface.cpp
M  +2    -2    src/server/seat_interface.cpp

https://invent.kde.org/plasma/kwayland-server/commit/557b3825b27187a8bb0a85d21a8f58c041a96e57

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

Reply via email to