forked from premiere/premiere-libtorrent
precaution: clear current_tracker in torrent::status()
This commit is contained in:
parent
7188691674
commit
9435e84644
|
@ -6190,6 +6190,7 @@ namespace libtorrent
|
||||||
|
|
||||||
st.announce_interval = boost::posix_time::seconds(0);
|
st.announce_interval = boost::posix_time::seconds(0);
|
||||||
|
|
||||||
|
st.current_tracker.clear();
|
||||||
if (m_last_working_tracker >= 0)
|
if (m_last_working_tracker >= 0)
|
||||||
{
|
{
|
||||||
TORRENT_ASSERT(m_last_working_tracker < int(m_trackers.size()));
|
TORRENT_ASSERT(m_last_working_tracker < int(m_trackers.size()));
|
||||||
|
|
Loading…
Reference in New Issue