mirror of
https://github.com/transmission/transmission
synced 2025-02-01 12:08:24 +00:00
fix: reset wishlist when stopping torrent (#6869)
This commit is contained in:
parent
d467fa1f7f
commit
a18fca5950
1 changed files with 1 additions and 0 deletions
|
@ -639,6 +639,7 @@ private:
|
|||
|
||||
is_running = false;
|
||||
remove_all_peers();
|
||||
wishlist.reset();
|
||||
for (auto& [sockaddr, peer_info] : connectable_pool)
|
||||
{
|
||||
peer_info->destroy_handshake();
|
||||
|
|
Loading…
Reference in a new issue