]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add flag
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 4 Mar 2010 01:16:48 +0000 (01:16 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 4 Mar 2010 01:16:48 +0000 (01:16 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16892 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_asr.c

index a9e82fb41af302921597f48bf15ed1a51ec08f90..fa4446ec467b631152ac6349e7f3c49346561f34 100644 (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)) {