Fix crash on startup

Authored by aacid on Oct 17 2018, 5:31 PM.

Description

Fix crash on startup

Summary:
There was various threads using the same kconfig[group] at the same time, so bad things happened.
Add a mutex

BUGS: 398416

Test Plan:
Run

rm -f ~/.config/palapeli* && palapeli

a few times, see it doesn't crash anymore

Reviewers: KDE Games

Subscribers: chehrlic, kde-games-devel

Differential Revision: https://phabricator.kde.org/D16118

Details

Committed
aacidOct 17 2018, 5:32 PM
Differential Revision
D16118: Fix crash on startup
Parents
R423:483d3f8b9428: Fix leak of the graphicsscene on the Puzzle preview
Branches
Unknown
Tags
Unknown