diff options
Diffstat (limited to 'ace/Service_Manager.cpp')
-rw-r--r-- | ace/Service_Manager.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ace/Service_Manager.cpp b/ace/Service_Manager.cpp index 3fdf1b5eb73..cf8654ee294 100644 --- a/ace/Service_Manager.cpp +++ b/ace/Service_Manager.cpp @@ -209,12 +209,11 @@ ACE_Service_Manager::handle_input (ACE_HANDLE) int reset_new_handle = 0; #if defined (ACE_WIN32) // Try to find out if the implementation of the reactor that we are - // using is the WFMO_Reactor. If so we need to reset the event - // association for the newly created handle. This is because the - // newly created handle will inherit the properties of the listen - // handle, including its event associations. - if (dynamic_cast <ACE_WFMO_Reactor *> (ACE_Reactor::instance ()->implementation ())) - reset_new_handle = 1; + // using requires us to reset the event association for the newly + // created handle. This is because the newly created handle will + // inherit the properties of the listen handle, including its event + // associations. + reset_new_handle = ACE_Reactor::instance ()->reset_new_handle (); #endif /* ACE_WIN32 */ if (this->acceptor_.accept (this->client_stream_, // stream |