mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-11-22 13:02:27 +09:00
Before this patch we could exit the process without waiting for file writing task to complete. As a result a file could become corrupted or a large chunk of data could be missing. Now the main thread either waits until file writing task completes or it writes log buffer to file itself.