]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/threadpsx.cpp
no message
[wxWidgets.git] / src / gtk1 / threadpsx.cpp
index 9704e70e2544dc5a5e462147d31cf78297182373..9623b91c303a63aeef06bf525e80071857d1b9bf 100644 (file)
@@ -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;