Hi...

There is the possibility that NSThread accesses an already invalid windows thread event handle and than crashes. The attached trivial patch fixes this.

Thanks for applying,

Roland

--- NSThread.m.orig     2010-03-08 10:55:16.000000000 +0100
+++ NSThread.m  2010-03-08 10:55:20.000000000 +0100
@@ -977,6 +977,7 @@
   if (event != INVALID_HANDLE_VALUE)
     {
       CloseHandle(event);
+      event = INVALID_HANDLE_VALUE;
     }
 #else
   if (inputFd >= 0)
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to