Skip to main content

arm_core_release_after_bib

Function arm_core_release_after_bib 

Source
pub fn arm_core_release_after_bib() -> CoreReleaseAfterBibGuard
Expand description

Arm one-shot teardown of dead core TeX engine state (STATE, STOMACH, GULLET, StringInterner, and per-conversion caches) on the current thread right after MakeBibliography completes in run_post_processing_*.

Only call this from a one-shot CLI process whose thread will not re-enter the TeX engine afterward (see latexml_core::release_core_state_for_post).