Fixed bug #17414 (pthreads bug work around)

Patch by timo.teras[at]iki.fi
This commit is contained in:
Ilia Alshanetsky 2003-08-05 20:03:54 +00:00
parent 217184483a
commit 5ead9d369e

View File

@ -184,6 +184,7 @@ TSRM_API void tsrm_shutdown(void)
#if defined(GNUPTH)
pth_kill();
#elif defined(PTHREADS)
pthread_setspecific(tls_key, 0);
pthread_key_delete(tls_key);
#elif defined(TSRM_WIN32)
TlsFree(tls_key);