mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-30 09:01:59 -05:00
fstream is not thread-safe and the act of writing the string and the newline are two separate operations which could execute concurrently in multiple threads, resulting in lines joining together followed by two newlines. Due to the presence of a static mutex, this also removes inline on the function.
83 KiB
83 KiB