-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition and potential segfault in MythDownloadManager.
Put a lock around the creation of the MythDownloadManager to make sure we don't get two created by a potential race condition. Put a lock around access to the QNetworkDiskCache when called via MythDownloadManager::GetLastModified(). Fixes #9231 using ideas from Jonatan from comhem.se, but most of the patch (and potential issues) are mine.
- Loading branch information
Showing
1 changed file
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters