From: Anthony Minessale Date: Mon, 26 Oct 2009 14:50:12 +0000 (+0000) Subject: regression from FSCORE-470 can't join a thread that is detachable probable cause... X-Git-Tag: v1.0.6~1605 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=052816bc3230809e2d330fac2ea065142b31bbe8;p=thirdparty%2Ffreeswitch.git 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 --- 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);