summaryrefslogtreecommitdiff
path: root/tests/Task_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-10-06 13:05:48 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-10-06 13:05:48 +0000
commitdb6d98b94173dd780e99037ed8b3a65f022c1ef8 (patch)
tree41cae8da529357f2517a38a7b0d696b8dbae7076 /tests/Task_Test.cpp
parent4bde85c51c625f4f998768234779938f239bcbcd (diff)
downloadATCD-db6d98b94173dd780e99037ed8b3a65f022c1ef8.tar.gz
ChangeLogTag:Tue Oct 5 16:17:57 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'tests/Task_Test.cpp')
-rw-r--r--tests/Task_Test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Task_Test.cpp b/tests/Task_Test.cpp
index 601eb83c78e..97fe044c3c8 100644
--- a/tests/Task_Test.cpp
+++ b/tests/Task_Test.cpp
@@ -123,7 +123,8 @@ main (int, ASYS_TCHAR *[])
n_iterations);
ACE_Thread_Manager::instance ()->wait ();
-
+ // Cleanup the thread hook so it doesn't leak.
+ delete ACE_Thread_Hook::thread_hook ();
#else
ACE_ERROR ((LM_INFO,
ASYS_TEXT ("threads not supported on this platform\n")));