return if disconnected by extension

This commit is contained in:
Arvid Norberg 2008-10-23 16:31:15 +00:00
parent 392dbb71da
commit f7b22e3517
1 changed files with 1 additions and 0 deletions

View File

@ -1281,6 +1281,7 @@ namespace libtorrent
else
++i;
}
if (is_disconnecting()) return;
#endif
// there is supposed to be a remote listen port