Browse Source

[3300] Call destructorImpl() in our Appender class's destructor

This is required by the log4cplus library.
Mukund Sivaraman 11 years ago
parent
commit
da04dd3bbc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lib/log/buffer_appender_impl.cc

+ 1 - 0
src/lib/log/buffer_appender_impl.cc

@@ -30,6 +30,7 @@ BufferAppender::~BufferAppender() {
     // So dump all that is left to stdout
     try {
         flushStdout();
+        destructorImpl();
     } catch (...) {
         // Ok if we can't even seem to dump to stdout, never mind.
     }