From: Guilhem Lavaux Date: Wed, 19 Aug 1998 07:42:27 +0000 (+0000) Subject: * Bug fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/857f3be5f1e6f20a0c99b839e91d8afd5478e828 * Bug fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/threadpsx.cpp b/src/gtk/threadpsx.cpp index 9704e70e25..9623b91c30 100644 --- a/src/gtk/threadpsx.cpp +++ b/src/gtk/threadpsx.cpp @@ -180,11 +180,6 @@ void *wxThreadInternal::PthreadStart(void *ptr) pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); void* status = thread->Entry(); - // Delete the current thread from the list - p_list_mutex.Lock(); - delete node_thread; - p_list_mutex.Unlock(); - thread->Exit(status); return NULL; diff --git a/src/gtk1/threadpsx.cpp b/src/gtk1/threadpsx.cpp index 9704e70e25..9623b91c30 100644 --- a/src/gtk1/threadpsx.cpp +++ b/src/gtk1/threadpsx.cpp @@ -180,11 +180,6 @@ void *wxThreadInternal::PthreadStart(void *ptr) pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); void* status = thread->Entry(); - // Delete the current thread from the list - p_list_mutex.Lock(); - delete node_thread; - p_list_mutex.Unlock(); - thread->Exit(status); return NULL; diff --git a/src/qt/threadpsx.cpp b/src/qt/threadpsx.cpp index 9704e70e25..9623b91c30 100644 --- a/src/qt/threadpsx.cpp +++ b/src/qt/threadpsx.cpp @@ -180,11 +180,6 @@ void *wxThreadInternal::PthreadStart(void *ptr) pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); void* status = thread->Entry(); - // Delete the current thread from the list - p_list_mutex.Lock(); - delete node_thread; - p_list_mutex.Unlock(); - thread->Exit(status); return NULL;