]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
missing comma for Motif compilation added
[wxWidgets.git] / src / unix / threadpsx.cpp
index d7dac9c864feb37215c1ece6295119bfe5f4a41a..ca1c7731b64e264a0bf06cb69f46b0e07d6e0488 100644 (file)
@@ -675,10 +675,10 @@ void wxThread::Exit(void *status)
 
     // next wake up the threads waiting for us (OTOH, this function won't return
     // until someone waited for us!)
-    p_internal->SignalExit();
-
     p_internal->SetState(STATE_EXITED);
 
+    p_internal->SignalExit();
+
     // delete both C++ thread object and terminate the OS thread object
     // GL: This is very ugly and buggy ...
 //    delete this;