omni::graph::exec::unstable::deregisterModulePasses

Defined in omni/graph/exec/unstable/PassRegistry.h

inline void omni::graph::exec::unstable::deregisterModulePasses() noexcept

Deregisters the module’s omni::graph::exec::unstable::IPass factories with IPassRegistry.

Failure to call this function may lead to crashes during program shutdown.

This function should be called in the module’s function registered with omni::core::OMNI_MODULE_ON_MODULE_UNLOAD(). This is usually called onUnload().

When developing a Kit extension, prefer calling OMNI_KIT_EXEC_CORE_ON_MODULE_UNLOAD() rather than this function.

See Pass Registration for more information about pass registration.

Thread Safety

This function is not thread safe.