Win32: use the destructor function for TLS (fixes #2398)
This fixes a long-standing leak. But this fix is untested and might cause disastrous crashes. By the way, I think we should split Win32 and pthread stuff apart from threads.c
Showing
Please register or sign in to comment