added todo comment for logger flush
This commit is contained in:
parent
2f82b56db1
commit
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