Flush log messages from other threads on shutdown too.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Oct 2012 22:38:32 +0000 (22:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Oct 2012 22:38:32 +0000 (22:38 +0000)
commitbca27719fef2e86c0b4f909e3c4c2a1b2671b234
tree87b0751ee8fcf2e3cf17e60ad3d24a8f8df1f897
parent8a0968b0be177fa55b0da3cd8c4eaaea29971760
Flush log messages from other threads on shutdown too.

Add a call to wxLog::FlushActive() to the shutdown code as calling just
wxLog::SetActiveTarget(NULL) is not enough, it flushes the current log target
only but not the ones used by other threads.

Closes #14595.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/init.cpp