LV2_Descriptor.cleanup

Clean up a plugin instance (counterpart to instantiate()).

Once an instance of a plugin has been finished with it must be deleted using this function. The instance handle passed ceases to be valid after this call.

If activate() was called for a plugin instance then a corresponding call to deactivate() MUST be made before cleanup() is called. Hosts MUST NOT call cleanup() unless instantiate() was previously called.

struct LV2_Descriptor
extern (C) nothrow @nogc
void function(LV2_Handle instance) cleanup;

Meta