mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
STEP export: ensure messages are immediately printed, and not stored in buffer.
The issue was mainly seen on Windows, in STEP export with msys2 build but also with other builds when exported from Pcbnew dialog
This commit is contained in:
parent
100260ed59
commit
0d013498ef
@ -130,6 +130,10 @@ REPORTER& CLI_REPORTER::Report( const wxString& aMsg, SEVERITY aSeverity )
|
||||
else
|
||||
wxFprintf( target, aMsg + wxS( "\n" ) );
|
||||
|
||||
// Needed after wxPrintf (or printf) to be sure the message is immediately printed
|
||||
// (i.e. not stored in some i/o buffer)
|
||||
fflush( target );
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user