carb::releaseFrameworkAndDeregisterBuiltins
Defined in carb/ClientUtils.h
-
inline void carb::releaseFrameworkAndDeregisterBuiltins()
This function releases the Carbonite Framework.
The options performed are essentially the teardown operations for acquireFrameworkAndRegisterBuiltins().
At a high-level, this function:
Calls logging::deregisterLoggingForClient(), assert::deregisterAssertForClient(), and l10n::deregisterLocalizationForClient().
Calls omniReleaseStructuredLog().
Unloads all Carbonite plugins
Calls OMNI_CORE_STOP
Calls releaseFramework()
Sets g_carbFramework to
nullptr
.
Note
It is not necessary to manually call this function if OMNI_CORE_INIT is used, since that macro will ensure that the Framework is released.