commit 2642acecb364bec874bf6dca1cbfa0e2a2e2d487
parent e1fe40d98aefbb20be1cbbf62931eaf18346701f
Author: cnlohr <lohr85@gmail.com>
Date: Sat, 28 Sep 2019 13:45:14 -0700
Fix buggy Windows thread closure (this coming from rawdraw upstream)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/rawdraw/os_generic.h b/rawdraw/os_generic.h
@@ -193,6 +193,7 @@ OSG_PREFIX void * OGJoinThread( og_thread_t ot )
OSG_PREFIX void OGCancelThread( og_thread_t ot )
{
OSG_TERM_THREAD_CODE
+ TerminateThread( ot, 0);
CloseHandle( ot );
}