]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
call destroy not stop in sofia profile
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 31 Oct 2012 13:59:31 +0000 (08:59 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 31 Oct 2012 13:59:31 +0000 (08:59 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index 679fcd52c98f986d22806bf73914b269c7e202f4..adb06caaba2eafe0de9de3a9a474f496e546ce46 100644 (file)
@@ -2621,7 +2621,7 @@ void *SWITCH_THREAD_FUNC sofia_profile_thread_run(switch_thread_t *thread, void
        switch_mutex_lock(profile->flag_mutex);
        switch_mutex_unlock(profile->flag_mutex);
 
-       switch_sql_queue_manager_stop(profile->qm);
+       switch_sql_queue_manager_destroy(&profile->qm);
 
        if (switch_event_create(&s_event, SWITCH_EVENT_UNPUBLISH) == SWITCH_STATUS_SUCCESS) {
                switch_event_add_header(s_event, SWITCH_STACK_BOTTOM, "service", "_sip._udp,_sip._tcp,_sip._sctp%s",