fix for when update_peer_port() disconnects
This commit is contained in:
parent
593af53aba
commit
17c250349e
|
@ -1290,6 +1290,7 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
t->get_policy().update_peer_port(listen_port
|
t->get_policy().update_peer_port(listen_port
|
||||||
, peer_info_struct(), peer_info::incoming);
|
, peer_info_struct(), peer_info::incoming);
|
||||||
|
if (is_disconnecting()) return;
|
||||||
}
|
}
|
||||||
// there should be a version too
|
// there should be a version too
|
||||||
// but where do we put that info?
|
// but where do we put that info?
|
||||||
|
|
Loading…
Reference in New Issue