summaryrefslogtreecommitdiff
path: root/ace/Thread_Exit.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2005-04-29 14:30:23 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2005-04-29 14:30:23 +0000
commit7f5316b80508856ba1cf110382b6c2c378c4184e (patch)
treeed59de39060ed90c4e20e44e8df0746b2e3ab151 /ace/Thread_Exit.cpp
parentbf4ef30e7d7ad09b99718dda6983b2862a24b346 (diff)
downloadATCD-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.cpp4
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.