#include "ofxCore.h" #define kOfxActionDestroyInstance "OfxActionDestroyInstance"
handlehandle to the plug-in instance, cast to an
inArgsis redundant and is set to NULL,
outArgsis redundant and is set to NULL.
This action is the last passed to a plug-in's instance before its destruction. It is there to allow a plugin to destroy any per-instance data structures it may have created.
kOfxActionCreateInstancehas been called on the handle,
To some extent, what is returned is moot, a bit like throwing an exception in a C++ destructor, so the host should continue destruction of the instance regardless. However...