ManagedThread::~ManagedThread() { // wxCriticalSectionLocker* lock; // lock = new wxCriticalSectionLocker(s_list_mutex); // NOTE: DeleteThreadFromList() locks the mutex by itself DeleteThreadFromList(this); // Deletes thread from list // delete lock; }
ManagedThread::~ManagedThread() { // NOTE: DeleteThreadFromList() locks the mutex by itself DeleteThreadFromList(this); // Deletes thread from list }