From X-Plane SDK
Revision as of 19:51, 20 April 2009 by Admin (1 revision)
XPLM_API void XPLMUnloadObject( XPLMObjectRef inObject);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.