fix threading in python binding for wait_for_alert
This commit is contained in:
parent
8c851b4d34
commit
284fc70cd0
|
@ -69,6 +69,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 binding for wait_for_alert
|
||||||
* only apply privileged port filter to DHT-only peers
|
* only apply privileged port filter to DHT-only peers
|
||||||
|
|
||||||
0.15.5 release
|
0.15.5 release
|
||||||
|
|
|
@ -214,6 +214,7 @@ namespace
|
||||||
|
|
||||||
alert const* wait_for_alert(session& s, int ms)
|
alert const* wait_for_alert(session& s, int ms)
|
||||||
{
|
{
|
||||||
|
allow_threading_guard guard;
|
||||||
return s.wait_for_alert(milliseconds(ms));
|
return s.wait_for_alert(milliseconds(ms));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue