diff options
| author | Méven Car <[email protected]> | 2024-03-23 11:55:37 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2024-03-24 11:55:54 +0100 |
| commit | d270700c0ef42b6f1e1bef09bbf0bab59b3e78d1 (patch) | |
| tree | 9e3949119321c9e99e602c0b97f77290a648789a /src/kitemviews | |
| parent | 5795d57dcb601b154a8856df56c2fcab02b6b0f4 (diff) | |
versioncontrol: Prevent a use-after-free in UpdateItemStatesThread
UpdateItemStatesThread kept a pointer reference to m_plugin whose
lifetime was tied to VersionControlObserver parents.
On application shutdown it could happen the thread is still running when
the Observer is destroyed.
Make the plugin pointer a weak reference, allowing to stop the thread
when the plugin is gone.
BUG: 477425
Diffstat (limited to 'src/kitemviews')
0 files changed, 0 insertions, 0 deletions
