mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Really flush output buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29675 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
986db7cae1
commit
a5a05e7dfc
@ -158,7 +158,17 @@ ConOut::ConOut(QProcess * proc) : proc_(proc), outindex_(0), errindex_(0),
|
||||
|
||||
ConOut::~ConOut()
|
||||
{
|
||||
if (outindex_) {
|
||||
outdata_[outindex_] = '\0';
|
||||
outindex_ = 0;
|
||||
cout << outdata_;
|
||||
}
|
||||
cout.flush();
|
||||
if (errindex_) {
|
||||
errdata_[errindex_] = '\0';
|
||||
errindex_ = 0;
|
||||
cerr << errdata_;
|
||||
}
|
||||
cerr.flush();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user