summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Acceptor.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-30 22:00:55 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-30 22:00:55 +0000
commitaf1b9cd67ca6faef051ce9e25e6ceca03ab18c54 (patch)
tree25938f309b95238f1b2a8bb8dc88ff586d896d90 /TAO/tao/IIOP_Acceptor.cpp
parent03c4784597d349359a958f75c0f95edd84ba677d (diff)
downloadATCD-af1b9cd67ca6faef051ce9e25e6ceca03ab18c54.tar.gz
ChangeLogTag: Thu Mar 30 15:45:25 2000 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/IIOP_Acceptor.cpp')
-rw-r--r--TAO/tao/IIOP_Acceptor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/tao/IIOP_Acceptor.cpp b/TAO/tao/IIOP_Acceptor.cpp
index 7f2e628ccce..4c5f2f5b38b 100644
--- a/TAO/tao/IIOP_Acceptor.cpp
+++ b/TAO/tao/IIOP_Acceptor.cpp
@@ -59,6 +59,10 @@ TAO_IIOP_Acceptor::TAO_IIOP_Acceptor (CORBA::Boolean flag)
TAO_IIOP_Acceptor::~TAO_IIOP_Acceptor (void)
{
+ // Make sure we are closed before we start destroying the
+ // strategies.
+ this->close ();
+
delete this->creation_strategy_;
delete this->concurrency_strategy_;
delete this->accept_strategy_;