summaryrefslogtreecommitdiff
path: root/ace/WFMO_Reactor.i
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-24 23:04:35 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-24 23:04:35 +0000
commit363941a0652a01985b44150ce0f69e3b46f15d60 (patch)
treeb534038e4db173d838a72b89feb64742de20da5e /ace/WFMO_Reactor.i
parentb8951551436f20ef59cff00674bfc0d63e17f047 (diff)
downloadATCD-363941a0652a01985b44150ce0f69e3b46f15d60.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/WFMO_Reactor.i')
-rw-r--r--ace/WFMO_Reactor.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/WFMO_Reactor.i b/ace/WFMO_Reactor.i
index 552bdcb5b4a..6f565419355 100644
--- a/ace/WFMO_Reactor.i
+++ b/ace/WFMO_Reactor.i
@@ -309,6 +309,9 @@ ACE_INLINE int
ACE_WFMO_Reactor_Handler_Repository::unbind (ACE_HANDLE handle,
ACE_Reactor_Mask mask)
{
+ if (this->invalid_handle (handle))
+ return -1;
+
ACE_GUARD_RETURN (ACE_Process_Mutex, ace_mon, this->wfmo_reactor_.lock_, -1);
int changes_required = 0;