summaryrefslogtreecommitdiff
path: root/tests/Thread_Pool_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2000-01-20 05:22:45 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2000-01-20 05:22:45 +0000
commitfc8a6dd523150a8e6604c4cd422c3636e1e2f513 (patch)
tree097c90047535b0ef55bb6c10cdbec754f52887d0 /tests/Thread_Pool_Test.cpp
parentb1cb814498696b9cca8632a4a298d1bf52f002d1 (diff)
downloadATCD-fc8a6dd523150a8e6604c4cd422c3636e1e2f513.tar.gz
ChangeLogTag:Wed Jan 19 23:21:07 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'tests/Thread_Pool_Test.cpp')
-rw-r--r--tests/Thread_Pool_Test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Thread_Pool_Test.cpp b/tests/Thread_Pool_Test.cpp
index ed14d876b1c..8dbe89134ba 100644
--- a/tests/Thread_Pool_Test.cpp
+++ b/tests/Thread_Pool_Test.cpp
@@ -261,6 +261,10 @@ Thread_Pool::test_queue_deactivation_shutdown (void)
}
else
{
+ // Release the <Message_Block> since we're shutting down and
+ // don't need it anymore.
+
+ mb->release ();
// Deactivate the message queue and return.
ACE_DEBUG ((LM_DEBUG,
ASYS_TEXT ("\n(%t) deactivating queue for %d threads, ")