(v13) Core module plugin startup
This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
The following sections describe how plugins are loaded.
The RIP reserves the right to load and unload core module plugins at its own convenience. Your plugins could be initialized and shut down more than once in a single RIP session. If you use threads or processes, you must ensure that they are properly shut down and restarted.
The plugin can set a flag to ensure that once loaded, it remains in memory for the rest of the RIP session. It is worth setting this flag if the plugin must set up static data and needs to maintain it in memory. See (v13) D_GET_FLAGS .