deallocates the piece picker when seeding, to free up unused memory

This commit is contained in:
Arvid Norberg
2006-12-04 12:20:34 +00:00
parent 7fa3d899a1
commit 90feac8126
6 changed files with 131 additions and 80 deletions

View File

@@ -465,8 +465,8 @@ namespace libtorrent { namespace detail
{
seed_random_generator()
{
std::srand((unsigned int)boost::posix_time::microsec_clock::
universal_time().time_of_day().total_microseconds());
std::srand((unsigned int)(boost::posix_time::microsec_clock::
universal_time().time_of_day().total_microseconds()));
}
};