fix issue with load/unload torrents

This commit is contained in:
arvidn 2017-03-11 19:59:53 -05:00
parent 3f90501934
commit 4ded26de33
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit 36b46fc2c316d34714315c04c87cf74de6efae90
Subproject commit 60d786b8fa6ddaacdc98bdf691220660bc194494

View File

@ -1364,6 +1364,7 @@ namespace libtorrent
if (m_file_progress.empty())
{
TORRENT_ASSERT(has_picker());
if (!need_loaded()) return;
m_file_progress.init(picker(), m_torrent_file->files());
}