diff options
author | yamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-15 20:33:41 +0000 |
---|---|---|
committer | yamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-15 20:33:41 +0000 |
commit | 71ff0e13c591fe86f88bc26710a8c10f5cb8e2fd (patch) | |
tree | 58353280ac22f36d649c902468556c56b1e7cc16 | |
parent | ecaabef331a94f72048bf600bcce32f99b7a3e03 (diff) | |
download | ATCD-71ff0e13c591fe86f88bc26710a8c10f5cb8e2fd.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/orbsvcs/orbsvcs/AV/AV_Core.cpp | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/AV_Core.cpp b/TAO/orbsvcs/orbsvcs/AV/AV_Core.cpp index 37424bdec37..c0c455c80ea 100644 --- a/TAO/orbsvcs/orbsvcs/AV/AV_Core.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/AV_Core.cpp @@ -251,18 +251,23 @@ TAO_AV_Core::init_forward_flows (TAO_Base_StreamEndPoint *endpoint, { if (entry->handler () != 0) { + //Yamuna:PLEASE CHECK THIS LATER #if defined ACE_HAS_RAPI || defined (ACE_HAS_WINSOCK2_GQOS) // For IN flows on the A side we should remove the handlers from the reactor. ACE_Event_Handler *event_handler = entry->handler ()->event_handler (); - result = event_handler->reactor ()->remove_handler (event_handler, - ACE_Event_Handler::READ_MASK); - if (result < 0) - if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, - "TAO_AV_Core::init_forward_flows: remove_handler failed\n")); -#endif /*ACE_HAS_RAPI || ACE_HAS_WINSOCK2_GQOS */ + if (event_handler->reactor () != 0) + { + result = event_handler->reactor ()->remove_handler (event_handler, + ACE_Event_Handler::READ_MASK); + + if (result < 0) + if (TAO_debug_level > 0) + ACE_DEBUG ((LM_DEBUG, + "TAO_AV_Core::init_forward_flows: remove_handler failed\n")); + } +#endif //ACE_HAS_RAPI || ACE_HAS_WINSOCK2_GQOS } } default: |