]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
you can't join a detached thread later on
authorBrian West <brian@freeswitch.org>
Tue, 3 Mar 2009 21:47:18 +0000 (21:47 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 3 Mar 2009 21:47:18 +0000 (21:47 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12396 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index e6ba1f7618921a14bda79c06c35d656cae07bc4f..3f631431b353d021d98c21cf6ec2adc761751511 100644 (file)
@@ -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);