diff options
Diffstat (limited to 'src/libtools/threads.c')
| -rw-r--r-- | src/libtools/threads.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c index a5fe55f7..f7c2badf 100644 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -144,13 +144,12 @@ static void emuthread_destroy(void* p) return; void* ptr; // check tlsdata - if (my_context && (ptr = pthread_getspecific(my_context->tlskey)) != NULL) - free_tlsdatasize(ptr); + /*if (my_context && (ptr = pthread_getspecific(my_context->tlskey)) != NULL) + free_tlsdatasize(ptr);*/ // free x64emu if(et) { FreeX64Emu(&et->emu); box_free(et); - pthread_setspecific(thread_key, NULL); } } |