mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
come down from acid trip there is no test_flag_locked
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3894 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
64bc419497
commit
d41a5a99d1
@ -652,7 +652,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
|
||||
|
||||
while (switch_test_flag(tech_pvt, TFLAG_IO)) {
|
||||
//switch_thread_cond_wait(tech_pvt->cond, tech_pvt->mutex);
|
||||
if (switch_test_flag_locked(tech_pvt, TFLAG_BREAK)) {
|
||||
if (switch_test_flag(tech_pvt, TFLAG_BREAK)) {
|
||||
switch_clear_flag(tech_pvt, TFLAG_BREAK);
|
||||
tech_pvt->read_frame.datalen = 13;
|
||||
memset(tech_pvt->read_frame.data, 0, 13);
|
||||
|
Loading…
x
Reference in New Issue
Block a user