From 052816bc3230809e2d330fac2ea065142b31bbe8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 26 Oct 2009 14:50:12 +0000 Subject: [PATCH] regression from FSCORE-470 can't join a thread that is detachable probable cause for MODENDP-255 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15226 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_sqldb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index b6fb502097..71b55a1f63 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -578,7 +578,6 @@ void switch_core_sqldb_start(switch_memory_pool_t *pool) switch_queue_create(&sql_manager.sql_queue[1], SWITCH_SQL_QUEUE_LEN, sql_manager.memory_pool); switch_threadattr_create(&thd_attr, sql_manager.memory_pool); - switch_threadattr_detach_set(thd_attr, 1); switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE); switch_thread_create(&sql_manager.thread, thd_attr, switch_core_sql_thread, NULL, sql_manager.memory_pool);