fix python deadlock when using python extensions
This commit is contained in:
parent
cc6bc5ba17
commit
3515199eb5
|
@ -99,6 +99,7 @@
|
||||||
incoming connection
|
incoming connection
|
||||||
* added more detailed instrumentation of the disk I/O thread
|
* added more detailed instrumentation of the disk I/O thread
|
||||||
|
|
||||||
|
* fix python deadlock when using python extensions
|
||||||
* fixed small memory leak in DHT
|
* fixed small memory leak in DHT
|
||||||
|
|
||||||
0.15.9 release
|
0.15.9 release
|
||||||
|
|
|
@ -25,6 +25,8 @@ namespace {
|
||||||
std::list<std::string> string_storage;
|
std::list<std::string> string_storage;
|
||||||
dict_to_add_torrent_params(params, p, resume_buf, string_storage);
|
dict_to_add_torrent_params(params, p, resume_buf, string_storage);
|
||||||
|
|
||||||
|
allow_threading_guard guard;
|
||||||
|
|
||||||
#ifndef BOOST_NO_EXCEPTIONS
|
#ifndef BOOST_NO_EXCEPTIONS
|
||||||
return add_magnet_uri(s, uri, p);
|
return add_magnet_uri(s, uri, p);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue