Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MythDownloadManager::cancelDownload()
cancelDownload would delete the MythDownloadInfo object, while the object was still in use by the downloading thread, resulting in a crash. Add some locking and do not delete object, instead mark it as cancelled.
- Loading branch information
Showing
1 changed file
with
26 additions
and
9 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