XPLMUnloadObject

Function XPLMUnloadObject 

Source
pub unsafe extern "C" fn XPLMUnloadObject(inObject: XPLMObjectRef)
Expand description

XPLMUnloadObject

This routine marks an object as no longer being used by your plugin. Objects are reference counted: once no plugins are using an object, it is purged from memory. Make sure to call XPLMUnloadObject once for each successful call to XPLMLoadObject.