diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2005-02-15 16:25:00 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2005-02-15 16:25:00 +0000 |
commit | e6361a34787703ae88cde6d1bcefe957445cb2cb (patch) | |
tree | 07d3270528dbd2d04ea7d512ecb2bdc9c3c0574e /examples/Service_Configurator/Misc/Timer_Service.cpp | |
parent | 7cd3387be132b2e8bcdd94e1a2c769ddd5f58ebd (diff) | |
download | ATCD-e6361a34787703ae88cde6d1bcefe957445cb2cb.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.cpp | 3 |
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; } |