GALANTHUS / ABI FUNCTION REFERENCE
gln_shutdown_runtime
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API void GLN_CALL gln_shutdown_runtime(void);
Purpose
Tears down process-wide runtime state created by gln_init_runtime.
Return
Returns no value.
| Type | Nullability | Ownership |
|---|---|---|
void | value | value |
Parameters
This function takes no parameters.
Lifecycle
The call closes the owned log sink, resets log configuration, clears resolved plugin and dump paths, and marks the runtime uninitialized.
Calling gln_shutdown_runtime before gln_init_runtime, or calling it repeatedly, is allowed and has no additional effect beyond resetting process state.
Release caller-owned backends, stores, secrets, continuations, errors, and result envelopes with their matching close, destroy, or release functions.
Relation To Init
After shutdown, a later gln_init_runtime call can initialize process state again with fresh options.