fix performance issue with async_add_torrent of file:// urls
This commit is contained in:
parent
17f371ddf2
commit
df919d2a85
|
@ -4604,8 +4604,8 @@ namespace aux {
|
||||||
}
|
}
|
||||||
TORRENT_ASSERT(params->ti->is_valid());
|
TORRENT_ASSERT(params->ti->is_valid());
|
||||||
TORRENT_ASSERT(params->ti->num_files() > 0);
|
TORRENT_ASSERT(params->ti->num_files() > 0);
|
||||||
add_torrent(*params, ec);
|
|
||||||
params->url.clear();
|
params->url.clear();
|
||||||
|
add_torrent(*params, ec);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef TORRENT_DISABLE_EXTENSIONS
|
#ifndef TORRENT_DISABLE_EXTENSIONS
|
||||||
|
|
Loading…
Reference in New Issue