[Log4cplus-devel] [log4cplus:bugs] #341 Exception on app exit
Logging Framework for C++
Brought to you by:
wilx
From: Václav H. <wi...@us...> - 2017-04-07 09:33:15
|
I am closing this as a duplicate of [Exception on app exit · Issue #239 · log4cplus/log4cplus](https://github.com/log4cplus/log4cplus/issues/239) --- ** [bugs:#341] Exception on app exit** **Status:** open **Group:** v1.2.x **Labels:** appender SharedAppenderPtr **Created:** Fri Apr 07, 2017 09:08 AM UTC by BTree **Last Updated:** Fri Apr 07, 2017 09:08 AM UTC **Owner:** nobody I have tested log4cplus in win32 app, ~~~ MainAppWindow::MainAppWindow() { ... log4cplus::initialize(); log4cplus::Logger logger = log4cplus::Logger::getInstance(LOG4CPLUS_TEXT("SmartSong")); SharedAppenderPtr appender_ptr(new Win32DebugAppender()); logger.addAppender(appender_ptr); ... } ~~~ When app exit, it throw exception in following. ~~~ SharedObject::removeReference() { ... if (LOG4CPLUS_UNLIKELY (destroy)) delete this; } ~~~ --- Sent from sourceforge.net because log...@li... is subscribed to https://sourceforge.net/p/log4cplus/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/log4cplus/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |