summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-15 04:46:16 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-15 04:46:16 +0000
commite6e635b3036e35b855464e194dff5853ef242cf4 (patch)
tree6f398d0692217483af838fc730be6ef1675bcc44 /ace/Timer_Queue.cpp
parent9f89bf91b69b0558082e0a3c56638b746088bd10 (diff)
downloadATCD-e6e635b3036e35b855464e194dff5853ef242cf4.tar.gz
foo
Diffstat (limited to 'ace/Timer_Queue.cpp')
-rw-r--r--ace/Timer_Queue.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/ace/Timer_Queue.cpp b/ace/Timer_Queue.cpp
index d59464a9932..2d5b82223a2 100644
--- a/ace/Timer_Queue.cpp
+++ b/ace/Timer_Queue.cpp
@@ -24,6 +24,11 @@ ACE_Timer_Node::dump (void) const
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
}
+ACE_Timer_Node::ACE_Timer_Node (void)
+{
+ ACE_TRACE ("ACE_Timer_Node::ACE_Timer_Node");
+}
+
ACE_Timer_Node::ACE_Timer_Node (ACE_Event_Handler *h,
const void *a,
const ACE_Time_Value &t,
@@ -148,7 +153,8 @@ ACE_Timer_Queue::expire (const ACE_Time_Value &cur_time)
this->cancel (handler);
if (reclaim)
- delete expired;
+ // Call the factory method to free up the node.
+ this->free_node (expired);
number_of_timers_expired++;
}