[mythtv-commits] mythtv/master commit: 99bff1a96 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Mon Nov 7 09:09:05 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-11-07T01:08:44-08:00
   Push Date:  2011/11/07 01:08:52 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  99bff1a96f1d2e18bbcdcade1d416922704d5ec9
   Changeset:  https://github.com/MythTV/mythtv/commit/99bff1a96

Log:

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?)

Modified:

   mythtv/libs/libmythbase/mythdownloadmanager.cpp
   mythtv/libs/libmythbase/mythdownloadmanager.h



More information about the mythtv-commits mailing list