Module cleanup

Module cleanup 

Source

Functions§

with_cleanup
Perform task. On error or panic, perform cleanup and return the original error, or continue to panic.