Don’t wipe startup message on pausing logging.
This commit is contained in:
parent
19ace8f0f9
commit
c7f013e7e5
@ -402,6 +402,13 @@ public:
|
||||
~LogStreamPrivate()
|
||||
{
|
||||
removeCallbacks();
|
||||
|
||||
// house-keeping, avoid leak warnings if we exit before disabling
|
||||
// startup logging
|
||||
{
|
||||
std::lock_guard<std::mutex> g(m_lock);
|
||||
clearStartupEntriesLocked();
|
||||
}
|
||||
}
|
||||
|
||||
std::mutex m_lock;
|
||||
@ -489,13 +496,6 @@ public:
|
||||
free(const_cast<char*>(entry.file));
|
||||
}
|
||||
} // of main thread loop
|
||||
|
||||
// house-keeping, avoid leak warnings if we exit before disabling
|
||||
// startup logging
|
||||
{
|
||||
std::lock_guard<std::mutex> g(m_lock);
|
||||
clearStartupEntriesLocked();
|
||||
}
|
||||
}
|
||||
|
||||
bool stop()
|
||||
|
Loading…
Reference in New Issue
Block a user