add flag
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16892 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
de7fa863cd
commit
2d2b4fa619
|
@ -181,6 +181,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_asr_close(switch_asr_handle_t *ah, s
|
|||
switch_assert(ah != NULL);
|
||||
|
||||
status = ah->asr_interface->asr_close(ah, flags);
|
||||
switch_set_flag(ah, SWITCH_ASR_FLAG_CLOSED);
|
||||
|
||||
UNPROTECT_INTERFACE(ah->asr_interface);
|
||||
|
||||
if (switch_test_flag(ah, SWITCH_ASR_FLAG_FREE_POOL)) {
|
||||
|
|
Loading…
Reference in New Issue