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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-activities-stats/ |ma/plasma-activities-stats/
                   |-/commit/d9d2c8b3c33bfea930 |-/commit/c5792c06f4060a0256
                   |80b5104503a4c6333d7558      |1827257f6d1f8005292746

--- Comment #16 from Harald Sitter <sit...@kde.org> ---
Git commit c5792c06f4060a02561827257f6d1f8005292746 by Harald Sitter.
Committed on 12/02/2024 at 11:25.
Pushed by sitter into branch 'Plasma/6.0'.

resultmodel: guard model in threaded resource cleanup

this previously was subject to a race condition between ResultModel
destruction and the file access finishing. When the file access took
long enough the Model would have been deleted leading to a crash.

Instead weakly point to the model via the QObject such that we can then
check if still exists by the time we want to call into it
Related: bug 466995
Fixes PLASMA-WORKSPACE-YZ


(cherry picked from commit d9d2c8b3c33bfea93080b5104503a4c6333d7558)

M  +6    -3    src/resultmodel.cpp

https://invent.kde.org/plasma/plasma-activities-stats/-/commit/c5792c06f4060a02561827257f6d1f8005292746

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

Reply via email to