X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2dd8380badebac8dc01f8948288235ae91056ed..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk1/threadpsx.cpp 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;