summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-26 04:44:09 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-26 04:44:09 +0000
commit71ed2caad99e4f23e58247445b780c2c862b3fe7 (patch)
tree864b33507df6995c4a252faa2e439dbace285c83
parentbf10f3561af2c0434a3035963469ed10432fbf98 (diff)
downloadATCD-71ed2caad99e4f23e58247445b780c2c862b3fe7.tar.gz
.
-rw-r--r--examples/Reactor/Misc/test_signals_1.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/Reactor/Misc/test_signals_1.cpp b/examples/Reactor/Misc/test_signals_1.cpp
index 6120a178910..72a62c53310 100644
--- a/examples/Reactor/Misc/test_signals_1.cpp
+++ b/examples/Reactor/Misc/test_signals_1.cpp
@@ -98,12 +98,10 @@ main (int, char *argv[])
// Make sure to remove my_handler before exiting main() since
// otherwise weird things can happen...
- if (ACE_Reactor::instance ()->remove_handler
- (&my_handler,
- ACE_Event_Handler::ALL_EVENTS_MASK) == -1)
+ if (ACE_Reactor::instance ()->cancel_timer (&my_handler) == -1)
ACE_ERROR_RETURN ((LM_DEBUG,
"%p\n",
- "remove_handler"),
+ "cancel_timer"),
-1);
return 0;
}