summaryrefslogtreecommitdiff
path: root/TAO/tao/Muxed_TMS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Muxed_TMS.cpp')
-rw-r--r--TAO/tao/Muxed_TMS.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/TAO/tao/Muxed_TMS.cpp b/TAO/tao/Muxed_TMS.cpp
index 68e1b7d073c..bc830ea847e 100644
--- a/TAO/tao/Muxed_TMS.cpp
+++ b/TAO/tao/Muxed_TMS.cpp
@@ -12,8 +12,6 @@
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)
@@ -222,12 +220,9 @@ 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)
@@ -236,7 +231,6 @@ TAO_Muxed_TMS::clear_cache (void)
ubs.pop (rd);
- kush = 1;
rd->connection_closed ();
}