diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-19 16:53:43 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-19 16:53:43 +0000 |
commit | 00fedf6daed3c84aba025443200d7cefca6348d1 (patch) | |
tree | 7ceea45474522718698adf110f397bd6cf1b3c50 /ace | |
parent | e8a1c287a97fa9778cfe61ebbff9e49aa286c1a8 (diff) | |
download | ATCD-00fedf6daed3c84aba025443200d7cefca6348d1.tar.gz |
ChangeLogTag:Thu Oct 19 09:50:30 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Log_Msg.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp index 419afa879ed..18997b4d135 100644 --- a/ace/Log_Msg.cpp +++ b/ace/Log_Msg.cpp @@ -542,15 +542,16 @@ ACE_Log_Msg::~ACE_Log_Msg (void) // this block. if (instance_count == 0) { + // Destroy the message queue instance. + if (ACE_Log_Msg_Manager::ipc_backend_ != 0) + ACE_Log_Msg_Manager::ipc_backend_->close (); + # if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) # if defined (ACE_HAS_TSS_EMULATION) ACE_Log_Msg_Manager::close (); # endif /* ACE_HAS_TSS_EMULATION */ # endif /* ACE_MT_SAFE */ - // Destroy the message queue instance. - ACE_Log_Msg_Manager::ipc_backend_->close (); - if (ACE_Log_Msg::program_name_) { ACE_OS::free ((void *) ACE_Log_Msg::program_name_); |