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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-activities-stats/
                   |                            |-/commit/d9d2c8b3c33bfea930
                   |                            |80b5104503a4c6333d7558

--- Comment #15 from Harald Sitter <sit...@kde.org> ---
Git commit d9d2c8b3c33bfea93080b5104503a4c6333d7558 by Harald Sitter.
Committed on 12/02/2024 at 11:22.
Pushed by sitter into branch 'master'.

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

M  +6    -3    src/resultmodel.cpp

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

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

Reply via email to