summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-03-14 20:26:10 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-03-14 20:26:10 +0000
commita0109f6c62f7f39aa17f515e6f5878b72c523239 (patch)
tree822edb9118a9efa6e1a27c748e222e348291e972
parent1635048fe55a7ddd845217f6c984211d8929932f (diff)
downloadATCD-a0109f6c62f7f39aa17f515e6f5878b72c523239.tar.gz
ChangeLogTag:Thu Mar 14 12:03:21 2002 Ossama Othman <ossama@uci.edu>
-rw-r--r--TAO/tao/PICurrent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/PICurrent.cpp b/TAO/tao/PICurrent.cpp
index f5ac255662a..df04f49fd11 100644
--- a/TAO/tao/PICurrent.cpp
+++ b/TAO/tao/PICurrent.cpp
@@ -115,7 +115,7 @@ TAO_PICurrent_Impl::~TAO_PICurrent_Impl (void)
// Make sure the peer TAO_PICurrent_Impl object no longer considers
// this TAO_PICurrent_Impl its peer since this object will no longer
// exist once this destructor completes execution.
- if (this->pi_peer_ != 0)
+ if (this->pi_peer_ != 0 && this->pi_peer_->pi_peer () == this)
this->pi_peer_->pi_peer (0);
}