* Fixed an incorrect exception check in

ResourceManager::receive_upload_unchoke(...).

* Allow the client to manually cancel tracker requests so that quick
shutdown works correctly after moving the TrackerManager::close() call
to DownloadWrapper::~DownloadWrapper().


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@873 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-03-24 00:22:23 +00:00
parent b009734d5c
commit 5450971273
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ Manager::shutdown(bool force) {
if (!force)
std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::pause), m_downloadList));
else
std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::close), m_downloadList));
std::for_each(m_downloadList->begin(), m_downloadList->end(), std::bind1st(std::mem_fun(&DownloadList::close_quick), m_downloadList));
}
void