pub fn capture_commit(complete: bool)
Finish the innermost recording. complete is the caller’s verdict that the file ran to its end or to a deliberate return / exit — not to a parse error or a failed event.
complete
return
exit