* init.cc (dll_entry): Revert previous change since it caused inexplicable fork

problems.
This commit is contained in:
Christopher Faylor
2011-11-27 19:00:33 +00:00
parent 1b60bb36b0
commit 0e5d7582d5
2 changed files with 6 additions and 2 deletions

View File

@ -150,7 +150,6 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
break;
case DLL_THREAD_DETACH:
if (dll_finished_loading
&& exit_state < ES_FINAL
&& (PVOID) &_my_tls > (PVOID) &wow64_test_stack_marker
&& _my_tls.isinitialized ())
_my_tls.remove (0);