1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 03:56:39 +02:00

Don't forget to CloseHandle threads on win32, spotted by Attila

This commit is contained in:
Adam
2013-05-05 23:47:45 -04:00
parent 3f5f84c92c
commit fe54dfb37f
+1
View File
@@ -53,6 +53,7 @@ int pthread_join(pthread_t thread, void **)
{
if (WaitForSingleObject(thread, INFINITE) == WAIT_FAILED)
return -1;
CloseHandle(thread);
return 0;
}