Skip to content

Commit

Permalink
Merge pull request #77381 from sparr/flush_debug_log
Browse files Browse the repository at this point in the history
Flush debug log writes immediately
  • Loading branch information
Maleclypse authored Oct 31, 2024
2 parents 951aa4e + 4a521b4 commit 9cbf239
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,7 @@ std::ostream &DebugLog( DebugLevel lev, DebugClass cl )
}
#endif

out << std::unitbuf; // flush writes immediately
return out;
}

Expand Down

0 comments on commit 9cbf239

Please sign in to comment.