Skip to content

dataengine: do not emit removal signals while iterators are open

Harald Sitter requested to merge work/sitter/kf6-dataengine-mpris-crash into master

this likely caused connect-based call chains into client code that would then mutate the underlying container such that the iterator goes invalid mid-removal resulting in a crash.

to solve this simply emit the signals all in one go initially, before iterating the sources for removal

BUG: 446531

Merge request reports

Loading