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: #1936releases/22
parent
b21f21f922
commit
6a3ea2540f
Loading…
Reference in new issue