summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-07 19:41:40 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-01-07 19:41:40 +0000
commit1e2ba122bdb778f683381eb8672822a9f60cc9da (patch)
tree7837b6dae8d85c14c50db5ca47157d4cdff34ab1
parent4eee95290794ddab65761ad3431272aa60deefbd (diff)
downloadATCD-1e2ba122bdb778f683381eb8672822a9f60cc9da.tar.gz
*** empty log message ***
-rw-r--r--ChangeLog-98a6
-rw-r--r--ace/Service_Repository.cpp7
2 files changed, 6 insertions, 7 deletions
diff --git a/ChangeLog-98a b/ChangeLog-98a
index 8b264d6fc9a..69c161138b1 100644
--- a/ChangeLog-98a
+++ b/ChangeLog-98a
@@ -1,3 +1,9 @@
+Wed Jan 7 13:38:28 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
+
+ * ace/Service_Repository.cpp (close): Removed a fragment of
+ redundant code. Thanks to Eric Newton <ecn@smart.net> and Alex
+ Chan <Alex.Chan@Aspect.com> for reporting this.
+
Tue Jan 06 17:19:13 1998 Nanbor Wang <nw1@cs.wustl.edu>
* ace/Containers.{h,cpp} (ACE_Unbounded_Set[_Iterator]): Added
diff --git a/ace/Service_Repository.cpp b/ace/Service_Repository.cpp
index 5667b7ddf32..ae03e52df1c 100644
--- a/ace/Service_Repository.cpp
+++ b/ace/Service_Repository.cpp
@@ -131,13 +131,6 @@ ACE_Service_Repository::close (void)
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",
- this->service_vector_[i]->name ()));
- delete (ACE_Service_Type *) this->service_vector_[i];
- }
-
delete [] this->service_vector_;
this->service_vector_ = 0;
this->current_size_ = 0;