Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MythDownloadManager: Add a cancelDownload method.
Removes the given url from the pending queue and aborts any download that has already started. Also invalidate the return data and file pointers for removeListener to ensure we don't leak memory or disk space for returned results that are no longer required (should removeListener abort the download as well?)
- Loading branch information
Mark Kendall
committed
Nov 7, 2011
1 parent
cf4d43c
commit 99bff1a
Showing
2 changed files
with
51 additions
and
3 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
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