gix_tempfile::registry

Function cleanup_tempfiles

source
pub fn cleanup_tempfiles()
Expand description

Remove all tempfiles still registered on our global registry. This happens on a best-effort basis with all errors being ignored.

ยงNote

Must not be called from within signal hooks. For that, use cleanup_tempfiles_signal_safe().