summaryrefslogtreecommitdiff
path: root/ace/Select_Reactor_T.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-25 22:44:38 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-25 22:44:38 +0000
commit55d9b0adf618adac24a862379ab64034598f1ec0 (patch)
treec84a79f29a963dd8e48642f27bfbf8716e3160ac /ace/Select_Reactor_T.cpp
parent7fa912a5208843921289958b444b5781f0f17939 (diff)
downloadATCD-55d9b0adf618adac24a862379ab64034598f1ec0.tar.gz
Don't delete the notify_handler_ if there isn't one.
Diffstat (limited to 'ace/Select_Reactor_T.cpp')
-rw-r--r--ace/Select_Reactor_T.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/Select_Reactor_T.cpp b/ace/Select_Reactor_T.cpp
index 2f5786f1ba2..83f9d3d29eb 100644
--- a/ace/Select_Reactor_T.cpp
+++ b/ace/Select_Reactor_T.cpp
@@ -545,7 +545,8 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::close (void)
this->delete_timer_queue_ = 0;
}
- this->notify_handler_->close ();
+ if (this->notify_handler_ != 0)
+ this->notify_handler_->close ();
if (this->delete_notify_handler_)
{