added todo comment for logger flush
This commit is contained in:
parent
10f05af6ac
commit
f461d2c844
@ -18,6 +18,7 @@ public:
|
|||||||
{
|
{
|
||||||
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;
|
||||||
}
|
}
|
||||||
@ -27,6 +28,7 @@ public:
|
|||||||
{
|
{
|
||||||
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