diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-07-05 09:10:08 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-07-05 09:10:08 +0000 |
| commit | e40d6b7c0fdfc2518fcf0d79a4c45f8cb769db94 (patch) | |
| tree | 503311fc08ad1b2afeba8bf83178d41fc6e578b6 /src/DownloadContext.h | |
| parent | f0edf98651f7f437bbd9b901907c9a3259687d10 (diff) | |
2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release pooled and in-flight Request objectsand URIResult objects
in FileEntry after download completed.
* src/DownloadContext.cc
* src/DownloadContext.h
* src/FileEntry.cc
* src/FileEntry.h
* src/RequestGroup.cc
Diffstat (limited to 'src/DownloadContext.h')
| -rw-r--r-- | src/DownloadContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DownloadContext.h b/src/DownloadContext.h index 479efab5..44af2c4b 100644 --- a/src/DownloadContext.h +++ b/src/DownloadContext.h @@ -235,6 +235,8 @@ public: // Returns FileEntry at given offset. SharedHandle<FileEntry>() is // returned if no such FileEntry is found. SharedHandle<FileEntry> findFileEntryByOffset(off_t offset) const; + + void releaseRuntimeResource(); }; } // namespace aria2 |
