--- a/engine/src/ShowEngine.cpp Sat Apr 24 22:26:43 2010 +0100
+++ b/engine/src/ShowEngine.cpp Mon Apr 26 22:11:45 2010 +0100
@@ -127,6 +127,10 @@
{
DP("CShowEngine::RemoveDownload\t This is the active download, we suspend downloading");
SuspendDownloads();
+
+ // partial downloads should be removed
+ BaflUtils::DeleteFile(iPodcastModel.FsSession(), iShowDownloading->FileName());
+
resumeAfterRemove = ETrue;
}
@@ -140,12 +144,6 @@
DBRemoveDownloadL(aUid);
- // partial downloads should be removed
- if (iShowDownloading)
- {
- BaflUtils::DeleteFile(iPodcastModel.FsSession(), iShowDownloading->FileName());
- }
-
if (resumeAfterRemove)
{
ResumeDownloadsL();