added todo comment for logger flush
This commit is contained in:
父節點
2f82b56db1
當前提交
f160c72d2f
@ -18,6 +18,7 @@ class Logger
|
|||||||
{
|
{
|
||||||
QMutexLocker locker(&this->mutex);
|
QMutexLocker locker(&this->mutex);
|
||||||
*out << val;
|
*out << val;
|
||||||
|
// TODO: QDebug may not have flushed yet
|
||||||
file->flush();
|
file->flush();
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
@ -26,6 +27,7 @@ class Logger
|
|||||||
{
|
{
|
||||||
QMutexLocker locker(&this->mutex);
|
QMutexLocker locker(&this->mutex);
|
||||||
*out << val;
|
*out << val;
|
||||||
|
// TODO: QDebug may not have flushed yet
|
||||||
file->flush();
|
file->flush();
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user