mirror of
https://github.com/joyieldInc/predixy.git
synced 2025-12-24 22:46:41 +08:00
Update Logger.cpp
This commit is contained in:
parent
3c2a53d58f
commit
885fb4eca9
@ -188,7 +188,7 @@ LogUnit* Logger::getLogUnit()
|
||||
}
|
||||
} else {
|
||||
std::unique_lock<std::mutex> lck(mMtx);
|
||||
while (true) {
|
||||
while (!mStop) {
|
||||
if (!mFree.empty()) {
|
||||
log = mFree.back();
|
||||
mFree.resize(mFree.size() - 1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user