disk_io_thread shutdown fix

This commit is contained in:
Arvid Norberg 2008-11-11 09:32:51 +00:00
parent 473f75e98a
commit 49a3ac9710
1 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,9 @@ namespace libtorrent
l.unlock();
m_disk_io_thread.join();
l.lock();
TORRENT_ASSERT(m_abort == true);
m_jobs.clear();
}
void disk_io_thread::get_cache_info(sha1_hash const& ih, std::vector<cached_piece_info>& ret) const