diff options
Diffstat (limited to 'ace/Svc_Handler.cpp')
-rw-r--r-- | ace/Svc_Handler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ace/Svc_Handler.cpp b/ace/Svc_Handler.cpp index 95f7027aee7..767a4a71fba 100644 --- a/ace/Svc_Handler.cpp +++ b/ace/Svc_Handler.cpp @@ -159,10 +159,8 @@ ACE_Svc_Handler<PR_ST_2, ACE_SYNCH_USE>::shutdown (void) this->reactor ()->cancel_timer (this); if (this->peer ().get_handle () != ACE_INVALID_HANDLE) - { - // Remove self from reactor. - this->reactor ()->remove_handler (this, mask); - } + // Remove self from reactor. + this->reactor ()->remove_handler (this, mask); } // Remove self from the recycler. |