fix performance issue with async_add_torrent of file:// urls

This commit is contained in:
arvidn 2017-03-20 22:30:31 -04:00
parent 17f371ddf2
commit df919d2a85
1 changed files with 1 additions and 1 deletions

View File

@ -4604,8 +4604,8 @@ namespace aux {
}
TORRENT_ASSERT(params->ti->is_valid());
TORRENT_ASSERT(params->ti->num_files() > 0);
add_torrent(*params, ec);
params->url.clear();
add_torrent(*params, ec);
}
#ifndef TORRENT_DISABLE_EXTENSIONS