some crash and hang fixes
ClosedPublic

Authored by malteveerman on Oct 8 2017, 9:40 PM.

Details

Summary

This just fixes some crashes and hangs.

Diff Detail

Repository
R181 Amarok
Branch
qt5/kf5
Lint
Lint Skipped
Unit
Unit Tests Skipped
malteveerman created this revision.Oct 8 2017, 9:40 PM
malteveerman edited the summary of this revision. (Show Details)Oct 8 2017, 9:42 PM
malteveerman added a reviewer: Amarok.
markey added a subscriber: markey.Oct 9 2017, 5:40 PM
markey accepted this revision.Oct 9 2017, 5:59 PM

Nice fixes. Builds fine too.

This revision is now accepted and ready to land.Oct 9 2017, 5:59 PM
markey closed this revision.Oct 9 2017, 6:03 PM

Last time i saw this code QThreadStorage allocates MySQL connection by thread but it's not destroy them thus ~ThreadInitializer() was never called.