mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "res_stasis: Add control ref to playback and recording structs."
This commit is contained in:
@@ -296,10 +296,11 @@ static void *bridge_channel_control_thread(void *data)
|
||||
thread_data = NULL;
|
||||
|
||||
stasis_app_control_execute_until_exhausted(bridge_channel, control);
|
||||
stasis_app_control_flush_queue(control);
|
||||
|
||||
ast_hangup(bridge_channel);
|
||||
ao2_cleanup(control);
|
||||
stasis_forward_cancel(forward);
|
||||
ao2_cleanup(control);
|
||||
ast_hangup(bridge_channel);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user