now that force-started torrents aren't affected by the auto-manager, they need to be explicitly kicked when entering checking state (it would be nice if all this could be done through set_state())

This commit is contained in:
arvidn
2015-09-19 21:06:56 -04:00
parent dab0f8b8d0
commit 5da511f140
20 changed files with 729 additions and 59 deletions

View File

@@ -82,7 +82,8 @@ struct swarm
m_torrents.push_back(lt::torrent_handle());
lt::add_torrent_params params = m_config.add_torrent(i);
ses->async_add_torrent(params);
if (!params.save_path.empty())
ses->async_add_torrent(params);
ses->set_alert_notify(boost::bind(&swarm::on_alert_notify, this, i));
}