fixed lock in python binding
This commit is contained in:
parent
fa85e3848f
commit
01c9cc04cd
|
@ -80,6 +80,7 @@ namespace
|
||||||
, boost::filesystem::path const& save, entry const& resume
|
, boost::filesystem::path const& save, entry const& resume
|
||||||
, bool compact, int block_size)
|
, bool compact, int block_size)
|
||||||
{
|
{
|
||||||
|
allow_threading_guard guard;
|
||||||
return s.add_torrent(ti, save, resume, compact, block_size
|
return s.add_torrent(ti, save, resume, compact, block_size
|
||||||
, default_storage_constructor);
|
, default_storage_constructor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue