diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-03-14 15:42:14 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-03-14 15:42:14 +0000 |
commit | 0d74c571bf58a18d3808d142017471cd4fc49e05 (patch) | |
tree | 1949fd1a6304a530dc23aaddd9d4a6c226bb55f5 /examples/Reactor/WFMO_Reactor | |
parent | 12cf3f16290453fb96ff985e87d7ced7853708c8 (diff) | |
download | ATCD-0d74c571bf58a18d3808d142017471cd4fc49e05.tar.gz |
ChangeLogTag: Sun Mar 14 15:42:11 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'examples/Reactor/WFMO_Reactor')
-rw-r--r-- | examples/Reactor/WFMO_Reactor/APC.cpp | 2 | ||||
-rw-r--r-- | examples/Reactor/WFMO_Reactor/Timeouts.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/Reactor/WFMO_Reactor/APC.cpp b/examples/Reactor/WFMO_Reactor/APC.cpp index ff1cbdd8233..589f191a395 100644 --- a/examples/Reactor/WFMO_Reactor/APC.cpp +++ b/examples/Reactor/WFMO_Reactor/APC.cpp @@ -112,6 +112,8 @@ ACE_TMAIN (int, ACE_TCHAR *[]) ACE_Reactor::run_alertable_event_loop (); + ACE_Reactor::instance ()->cancel_timer(&event_handler); + return 0; } #else /* !ACE_WIN32 */ diff --git a/examples/Reactor/WFMO_Reactor/Timeouts.cpp b/examples/Reactor/WFMO_Reactor/Timeouts.cpp index 05fa61309c3..8cc37a940bc 100644 --- a/examples/Reactor/WFMO_Reactor/Timeouts.cpp +++ b/examples/Reactor/WFMO_Reactor/Timeouts.cpp @@ -77,5 +77,7 @@ ACE_TMAIN (int, ACE_TCHAR *[]) if (ACE_Reactor::run_event_loop(run_time) == -1) ACE_ERROR_RETURN ((LM_ERROR, "%p.\n", "main"), -1); + ACE_Reactor::instance ()->cancel_timer(&handler); + return 0; } |