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

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/plas
                   |eworks/plasma-framework/-/c |ma/plasma5support/-/commit/
                   |ommit/2d932664829348775eb0b |d9c52371f487a4fd53f9d0b1876
                   |da9cfefe66c0dd6c85e         |0d0b902500695

--- Comment #14 from Harald Sitter <sit...@kde.org> ---
Git commit d9c52371f487a4fd53f9d0b18760d0b902500695 by Harald Sitter.
Committed on 04/07/2023 at 12:36.
Pushed by sitter into branch 'master'.

dataengine: do not emit removal signals while iterators are open

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

M  +12   -3    src/plasma5support/dataengine.cpp

https://invent.kde.org/plasma/plasma5support/-/commit/d9c52371f487a4fd53f9d0b18760d0b902500695

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

Reply via email to