Dynamic plugin loading
This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
The RIP reserves the right to load and unload output plugins at its own convenience (the RIP never unloads plugins during the output of a page.) 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 D_GET_FLAGS .