summaryrefslogtreecommitdiff
path: root/ace/MEM_Stream.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-05 08:52:38 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-05 08:52:38 +0000
commitc05efcce5e1ffab6758cbff1e01da6284b69a0a0 (patch)
treeaa52f15be151d8866c2b9b54596ff3acf82291e3 /ace/MEM_Stream.cpp
parent05bbee87b3e4ea1778b8b771692e030cbc1640e0 (diff)
downloadATCD-c05efcce5e1ffab6758cbff1e01da6284b69a0a0.tar.gz
ChangeLogTag:Thu Apr 05 02:48:51 2001 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/MEM_Stream.cpp')
-rw-r--r--ace/MEM_Stream.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/MEM_Stream.cpp b/ace/MEM_Stream.cpp
index 239262c8d5d..4afbfacea03 100644
--- a/ace/MEM_Stream.cpp
+++ b/ace/MEM_Stream.cpp
@@ -23,6 +23,9 @@ ACE_MEM_Stream::close (void)
{
this->send ((char *)0, 0);
+ if (this->cleanup_ != 0)
+ this->fini (1);
+
#if defined (ACE_WIN32)
// We need the following call to make things work correctly on
// Win32, which requires use to do a <close_writer> before doing the