summaryrefslogtreecommitdiff
path: root/src/DownloadContext.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/DownloadContext.cc')
-rw-r--r--src/DownloadContext.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/DownloadContext.cc b/src/DownloadContext.cc
index f002eb3d..b450d8fd 100644
--- a/src/DownloadContext.cc
+++ b/src/DownloadContext.cc
@@ -165,4 +165,12 @@ bool DownloadContext::hasAttribute(const std::string& key) const
}
}
+void DownloadContext::releaseRuntimeResource()
+{
+ for(std::vector<SharedHandle<FileEntry> >::const_iterator i =
+ _fileEntries.begin(); i != _fileEntries.end(); ++i) {
+ (*i)->releaseRuntimeResource();
+ }
+}
+
} // namespace aria2