[ CCode ( has_target = false ) ]
public delegate void ShutdownHookFunc ()
Callback delegate for shutdown hook handlers.
This delegate uses [CCode (has_target = false)] for Posix.atexit compatibility. Closures that capture local variables are not supported; use module-level variables or static state instead.