git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16892 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-03-04 01:16:48 +00:00
parent de7fa863cd
commit 2d2b4fa619
1 changed files with 2 additions and 0 deletions

View File

@ -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)) {