[pr-fix] Flush the log before the title's own exit ends the process #28
Loading…
Reference in a new issue
No description provided.
Delete branch "kisekinopureya/Darner:kisekinopureya/pr/log-flush"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contributor role (optional)
What it changes
lifecycle::end(the title ending itself) called TerminateProcess with lines still queued for thelog's writing thread, so a run's last lines could be missing from its log. It now waits for them, at
most 2 s, as the crash reporter and
host_gpu_failedalready do. One file,crates/darner-hle/src/modules/lifecycle.rs.How it was tested
8264118025cargo test -p darner-gpu --libon the shader cache,menu and panel tests: pass.
was stopped from outside rather than by the title.
Checklist
main.docs/asset-policy.md.Checked for overlap
🤖 Generated with Claude Code