Skip to content

Make data source objects "parentless"

Vlad Zahorodnii requested to merge work/zzag/data-source-parent into master

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.

CCBUG: 449101

Merge request reports