forked from premiere/premiere-libtorrent
fix invalid access when leaving seed-mode with outstanding hash jobs
This commit is contained in:
parent
f01801339c
commit
7b61313b99
|
@ -1,3 +1,4 @@
|
||||||
|
* fix invalid access when leaving seed-mode with outstanding hash jobs
|
||||||
* fix ABI compatibility issue introduced with preformatted entry type
|
* fix ABI compatibility issue introduced with preformatted entry type
|
||||||
* add web_seed_name_lookup_retry to session_settings
|
* add web_seed_name_lookup_retry to session_settings
|
||||||
* slightly improve proxy settings backwards compatibility
|
* slightly improve proxy settings backwards compatibility
|
||||||
|
|
|
@ -5299,8 +5299,11 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TORRENT_ASSERT(t->verifying_piece(j->piece));
|
if (t->seed_mode())
|
||||||
if (t->seed_mode()) t->verified(j->piece);
|
{
|
||||||
|
TORRENT_ASSERT(t->verifying_piece(j->piece));
|
||||||
|
t->verified(j->piece);
|
||||||
|
}
|
||||||
|
|
||||||
#ifndef TORRENT_DISABLE_LOGGING
|
#ifndef TORRENT_DISABLE_LOGGING
|
||||||
peer_log(peer_log_alert::info, "SEED_MODE_FILE_HASH"
|
peer_log(peer_log_alert::info, "SEED_MODE_FILE_HASH"
|
||||||
|
|
Loading…
Reference in New Issue