mirror of https://github.com/asterisk/asterisk
If the channel is locked when calling ast_set_variables and any of the variables contained dialplan functions, there's a possiblilty of a deadlock. To prevent this, either the explicit locks were removed or the call to ast_set_variables moved out of the lock scope. A warning to not hold channel locks is also added to the documentation for ast_set_variables. Resolves: #1936pull/2003/head
parent
4d3d5964fd
commit
0aa6b2c0c4
Loading…
Reference in new issue