]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4245 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 23 May 2012 18:13:32 +0000 (13:13 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 23 May 2012 18:13:32 +0000 (13:13 -0500)
src/switch_core_memory.c

index 3a93632338ec03528f1610c2018fe8e150da0c86..38a066b020f44c43109cc7a8c41906d8470268a4 100644 (file)
@@ -646,7 +646,7 @@ switch_memory_pool_t *switch_core_memory_init(void)
        switch_queue_create(&memory_manager.pool_recycle_queue, 50000, memory_manager.memory_pool);
 
        switch_threadattr_create(&thd_attr, memory_manager.memory_pool);
-       switch_threadattr_detach_set(thd_attr, 1);
+       switch_threadattr_detach_set(thd_attr, 0);
 
        switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);
        switch_thread_create(&pool_thread_p, thd_attr, pool_thread, NULL, memory_manager.memory_pool);