fix threading in python binding for wait_for_alert
This commit is contained in:
@@ -214,6 +214,7 @@ namespace
|
||||
|
||||
alert const* wait_for_alert(session& s, int ms)
|
||||
{
|
||||
allow_threading_guard guard;
|
||||
return s.wait_for_alert(milliseconds(ms));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user