diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2005-04-29 14:30:23 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2005-04-29 14:30:23 +0000 |
commit | 7f5316b80508856ba1cf110382b6c2c378c4184e (patch) | |
tree | ed59de39060ed90c4e20e44e8df0746b2e3ab151 /ace/Thread_Exit.cpp | |
parent | bf4ef30e7d7ad09b99718dda6983b2862a24b346 (diff) | |
download | ATCD-7f5316b80508856ba1cf110382b6c2c378c4184e.tar.gz |
ChangeLogTag:Fri Apr 29 09:25:28 2005 Douglas C. Schmidt <schmidt@cs.wustl.edu>
Diffstat (limited to 'ace/Thread_Exit.cpp')
-rw-r--r-- | ace/Thread_Exit.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Thread_Exit.cpp b/ace/Thread_Exit.cpp index e934aef6294..160c1e0429c 100644 --- a/ace/Thread_Exit.cpp +++ b/ace/Thread_Exit.cpp @@ -16,6 +16,10 @@ ACE_Thread_Exit::cleanup (void *instance) delete (ACE_TSS_TYPE (ACE_Thread_Exit) *) instance; + // Set the thr_exit_ static to null to keep things from crashing if + // ACE::fini() is enabled here. + ACE_Thread_Manager::thr_exit_ = 0; + ACE_Thread_Exit::is_constructed_ = 0; // All TSS objects have been destroyed. Reset this flag so // ACE_Thread_Exit singleton can be created again. |