forked from premiere/premiere-libtorrent
peer disconnect fix
This commit is contained in:
parent
796b1b98c3
commit
bdada3766a
|
@ -2416,6 +2416,8 @@ namespace libtorrent
|
|||
, p.piece, _1));
|
||||
}
|
||||
|
||||
if (is_disconnecting()) return;
|
||||
|
||||
#ifdef TORRENT_STATS
|
||||
++m_ses.m_incoming_piece_picks;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue