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
|
||||
* add web_seed_name_lookup_retry to session_settings
|
||||
* slightly improve proxy settings backwards compatibility
|
||||
|
|
|
@ -5299,8 +5299,11 @@ namespace libtorrent
|
|||
}
|
||||
else
|
||||
{
|
||||
TORRENT_ASSERT(t->verifying_piece(j->piece));
|
||||
if (t->seed_mode()) t->verified(j->piece);
|
||||
if (t->seed_mode())
|
||||
{
|
||||
TORRENT_ASSERT(t->verifying_piece(j->piece));
|
||||
t->verified(j->piece);
|
||||
}
|
||||
|
||||
#ifndef TORRENT_DISABLE_LOGGING
|
||||
peer_log(peer_log_alert::info, "SEED_MODE_FILE_HASH"
|
||||
|
|
Loading…
Reference in New Issue