Skip to content
Commit 52ceb245 authored by David Edmundson's avatar David Edmundson
Browse files

Add mutex round static member used in a thread

Summary:
BackgroundFinder runs in a separate thread, it uses a static QStringList cache
It's perfectly plausible that two BackgroundFinders threads could run at once

Test Plan:
Old code didn't crash, it was a pure hypothetical.
Works as before

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: anthonyfieroni, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D11590
parent 21d97beb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment