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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/plasma-framework/-/c
                   |                            |ommit/2d932664829348775eb0b
                   |                            |da9cfefe66c0dd6c85e

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

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/plasma/dataengine.cpp

https://invent.kde.org/frameworks/plasma-framework/-/commit/2d932664829348775eb0bda9cfefe66c0dd6c85e

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

Reply via email to