summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator/Misc/Timer_Service.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2005-02-15 16:25:00 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2005-02-15 16:25:00 +0000
commitcb3bc20b4a91cbefea7256612ccc20fe2075ec98 (patch)
tree07d3270528dbd2d04ea7d512ecb2bdc9c3c0574e /examples/Service_Configurator/Misc/Timer_Service.cpp
parentf1c957568b249914d9dc86b3c4ef54561a5e21a1 (diff)
downloadATCD-cb3bc20b4a91cbefea7256612ccc20fe2075ec98.tar.gz
ChangeLogTag:Tue Feb 15 10:23:39 2005 Douglas C. Schmidt <schmidt@cs.wustl.edu>
Diffstat (limited to 'examples/Service_Configurator/Misc/Timer_Service.cpp')
-rw-r--r--examples/Service_Configurator/Misc/Timer_Service.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/Service_Configurator/Misc/Timer_Service.cpp b/examples/Service_Configurator/Misc/Timer_Service.cpp
index c69b448aebc..82ace8f657c 100644
--- a/examples/Service_Configurator/Misc/Timer_Service.cpp
+++ b/examples/Service_Configurator/Misc/Timer_Service.cpp
@@ -100,6 +100,9 @@ Timer_Service_1::handle_close (ACE_HANDLE,
{
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("closing down the timer test\n")));
+ // Remove ourselves from the timer queue.
+ ACE_Reactor::instance ()->cancel_timer (this);
+
ACE_Reactor::end_event_loop();
return 0;
}