diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-03-14 20:20:01 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-03-14 20:20:01 +0000 |
commit | e7c4ebdc723cd714103036b287489f6a870f923f (patch) | |
tree | 36e89bdb033481a61113e2b148022ce517ec1f4b | |
parent | d09eaefd285a698b85c611faec7011fa327e416d (diff) | |
download | ATCD-e7c4ebdc723cd714103036b287489f6a870f923f.tar.gz |
ChangeLogTag:Thu Mar 14 12:03:21 2002 Ossama Othman <ossama@uci.edu>
-rw-r--r-- | TAO/tao/PICurrent.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/tao/PICurrent.cpp b/TAO/tao/PICurrent.cpp index a704e363d23..f5ac255662a 100644 --- a/TAO/tao/PICurrent.cpp +++ b/TAO/tao/PICurrent.cpp @@ -112,6 +112,11 @@ TAO_PICurrent_Impl::TAO_PICurrent_Impl (void) 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) + this->pi_peer_->pi_peer (0); } CORBA::Any * |