From 8ae7b73bd7e460b6dd479132c25613bfc116af73 Mon Sep 17 00:00:00 2001 From: Brian West <brian@freeswitch.org> Date: Tue, 3 Mar 2009 21:47:18 +0000 Subject: [PATCH] you can't join a detached thread later on git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12396 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index e6ba1f7618..3f631431b3 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -669,7 +669,6 @@ switch_thread_t *launch_sofia_worker_thread(sofia_profile_t *profile) int x = 0; switch_threadattr_create(&thd_attr, profile->pool); - switch_threadattr_detach_set(thd_attr, 1); switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE); switch_threadattr_priority_increase(thd_attr); switch_thread_create(&thread, thd_attr, sofia_profile_worker_thread_run, profile, profile->pool);