fix for when update_peer_port() disconnects

This commit is contained in:
Arvid Norberg 2008-11-01 19:34:12 +00:00
parent 593af53aba
commit 17c250349e
1 changed files with 1 additions and 0 deletions

View File

@ -1290,6 +1290,7 @@ namespace libtorrent
{
t->get_policy().update_peer_port(listen_port
, peer_info_struct(), peer_info::incoming);
if (is_disconnecting()) return;
}
// there should be a version too
// but where do we put that info?