diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-11-06 03:53:34 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-11-06 03:53:34 +0000 |
commit | 5b48ecb7badc985aea772858b76cd7fed6b3e53f (patch) | |
tree | 6bf7615cf41fc43d4d77361098d0e065d280820f /ace/Service_Repository.cpp | |
parent | 8a0506c96cb53a2b2e01a503de60a6cef2165829 (diff) | |
download | ATCD-5b48ecb7badc985aea772858b76cd7fed6b3e53f.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Service_Repository.cpp')
-rw-r--r-- | ace/Service_Repository.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/Service_Repository.cpp b/ace/Service_Repository.cpp index ab5d84658dd..dc6ff9d9012 100644 --- a/ace/Service_Repository.cpp +++ b/ace/Service_Repository.cpp @@ -123,6 +123,14 @@ ACE_Service_Repository::close (void) { // Make sure to remove the services in the reverse order in // which they were added. + while (this->current_size_ > 0) + { + int i = --this->current_size_; + ACE_DEBUG ((LM_DEBUG, "shutting down %s", + this->service_vector_[i]->name ())); + delete (ACE_Service_Type *)this->service_vector_[i]; + } + for (int i = this->current_size_ - 1; i >= 0; i--) { ACE_DEBUG ((LM_DEBUG, "shutting down %s\n", |