OMNI_MODULE_ON_MODULE_UNLOAD

Defined in omni/core/ModuleExports.h

OMNI_MODULE_ON_MODULE_UNLOAD(exp_, fn_)

Registers the plugin’s function who is responsible for cleaning up the plugin when the plugin is being unloaded.

Parameters
  • exp_ – The omni::core::ModuleExports table in which the entry should be added.

  • fn_ – The plugin’s omni::core::OnModuleUnloadFn who is responsible for cleaning up the plugin.