D12315: Fixed crash at shutdown

Malte Veerman noreply at phabricator.kde.org
Wed Apr 18 16:25:49 UTC 2018


malteveerman created this revision.
malteveerman added a reviewer: Amarok.
malteveerman added a project: Amarok.
malteveerman requested review of this revision.

REVISION SUMMARY
  This fixes a crash at shutdown, when Threadweaver threads try to access already deleted objects like the sql registry. We just wait for them to finish before deleting those.

REPOSITORY
  R181 Amarok

BRANCH
  master

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

AFFECTED FILES
  src/App.cpp
  src/browsers/CollectionTreeItemModelBase.cpp
  src/browsers/CollectionTreeItemModelBase.h
  src/core-impl/collections/db/sql/SqlCollection.cpp
  src/core-impl/collections/db/sql/SqlCollection.h
  src/scanner/AbstractDirectoryWatcher.cpp
  src/scanner/AbstractDirectoryWatcher.h

To: malteveerman, #amarok
Cc: #amarok, jackyalcine, nhuisman, paul, yaohanchen, malteveerman, markey, cochise, tbettler, Smar, ricktimmis, asturmlechner, schweingruber, heikobecker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20180418/dbbe6341/attachment.html>


More information about the Amarok-devel mailing list