From: Brian West Date: Tue, 3 Mar 2009 21:47:18 +0000 (+0000) Subject: you can't join a detached thread later on X-Git-Tag: v1.0.4~1713 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ae7b73bd7e460b6dd479132c25613bfc116af73;p=thirdparty%2Ffreeswitch.git 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 --- 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);