diff options
author | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-28 23:43:01 +0000 |
---|---|---|
committer | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-28 23:43:01 +0000 |
commit | acae84be8deef39c80fde3a762489956b3d96fa2 (patch) | |
tree | 4c73ad434d76347f9d31705d97ff77c08d60d7fe /TAO/tao | |
parent | ecec1232348e47ddeeb3620019884eaf87721b0e (diff) | |
download | ATCD-acae84be8deef39c80fde3a762489956b3d96fa2.tar.gz |
ChangeLogTag: Mon Jul 28 18:37:27 2003 Gan Deng <gan.deng@vanderbilt.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/Muxed_TMS.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tao/Muxed_TMS.cpp b/TAO/tao/Muxed_TMS.cpp index bc830ea847e..68e1b7d073c 100644 --- a/TAO/tao/Muxed_TMS.cpp +++ b/TAO/tao/Muxed_TMS.cpp @@ -12,6 +12,8 @@ ACE_RCSID(tao, Muxed_TMS, "$Id$") +static int kush = 0; + TAO_Muxed_TMS::TAO_Muxed_TMS (TAO_Transport *transport) : TAO_Transport_Mux_Strategy (transport) , request_id_generator_ (0) @@ -220,9 +222,12 @@ TAO_Muxed_TMS::clear_cache (void) this->dispatcher_table_.begin (); i != end; ++i) + { + CORBA::ULong request_id = (*i).ext_id_; ubs.push ((*i).int_id_); + this->dispatcher_table_.unbind (request_id); + } - this->dispatcher_table_.unbind_all (); size_t sz = ubs.size (); for (size_t k = 0 ; k != sz ; ++k) @@ -231,6 +236,7 @@ TAO_Muxed_TMS::clear_cache (void) ubs.pop (rd); + kush = 1; rd->connection_closed (); } |