(v13) D_GEN_SHUTDOWN (event based plugins)
This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
D_GEN_SHUTDOWN Selector
Parameter: GenericShutdownParam * param
Call type: Single call
This call occurs only when the RIP is shut down, and is provided for the plugin to take whatever action is necessary to terminate itself.
typedef struct GenericShutdownParam { int32 version ;
} GenericShutdownParam ;
The RIP calls this selector to request that the plugin shuts down gracefully. The plugin should deallocate any memory it has allocated and remove any interrupt handlers, as well as performing any shut‐ down actions the output device might require for a graceful shutdown.
The RIP can call D_GEN_SHUTDOWN
at any time after D_INITIALISE
. After the D_GEN_SHUTDOWN
call, the RIP can freely unload the plugin, and if necessary, reload it later.
A call to PluginLibShutdown
should be made during D_GEN_SHUTDOWN
, so no RIP Monitor messages can be passed back during this selector call.