diff --git a/src/thread.cpp b/src/thread.cpp index 1d4543ff..a7d3811b 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -105,7 +105,7 @@ extern "C" { static OSStatus thread_proxy(void* param) #endif { - try +// try { thread_param* p = static_cast(param); boost::function0 threadfunc = p->m_threadfunc; @@ -115,12 +115,12 @@ extern "C" { on_thread_exit(); #endif } - catch (...) - { -#if defined(BOOST_HAS_WINTHREADS) - on_thread_exit(); -#endif - } +// catch (...) +// { +//#if defined(BOOST_HAS_WINTHREADS) +// on_thread_exit(); +//#endif +// } #if defined(BOOST_HAS_MPTASKS) ::boost::detail::thread_cleanup(); #endif