diff options
Diffstat (limited to 'ace/Reactor.cpp')
-rw-r--r-- | ace/Reactor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Reactor.cpp b/ace/Reactor.cpp index ed9d70be269..8b8be61d4df 100644 --- a/ace/Reactor.cpp +++ b/ace/Reactor.cpp @@ -477,7 +477,9 @@ ACE_Reactor::notify (ACE_Event_Handler *event_handler, // First, try to remember this reactor in the event handler, in case // the event handler goes away before the notification is delivered. if (event_handler != 0 && event_handler->reactor () == 0) - event_handler->reactor (this); + { + event_handler->reactor (this); + } return this->implementation ()->notify (event_handler, mask, tv); } |