Fix failing assertion in logger on Windows when the disk is full.
This commit is contained in:
parent
7699439b7c
commit
92d0850f1c
@ -132,7 +132,7 @@ void WinLogger::Logv(const char* format, va_list ap) {
|
||||
}
|
||||
|
||||
flush_pending_ = true;
|
||||
assert(bytesWritten == write_size);
|
||||
assert((bytesWritten == write_size) || (ret == FALSE));
|
||||
if (bytesWritten > 0) {
|
||||
log_size_ += write_size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user