D16118: Fix crash on startup

Albert Astals Cid noreply at phabricator.kde.org
Wed Oct 10 22:08:56 BST 2018


aacid created this revision.
Herald added a reviewer: KDE Games.
Herald added a subscriber: kde-games-devel.
aacid requested review of this revision.

REVISION 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

REPOSITORY
  R423 Palapeli

BRANCH
  Applications/18.08

REVISION DETAIL
  https://phabricator.kde.org/D16118

AFFECTED FILES
  src/file-io/collection.cpp
  src/file-io/collection.h
  src/file-io/components-collectionstorage.cpp
  src/file-io/components.h

To: aacid, #kde_games
Cc: kde-games-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20181010/612c0f99/attachment.html>


More information about the kde-games-devel mailing list