ClosePlugin()will be the final call Hollywood makes to your plugin. After that the plugin will be expunged from memory.
Important: Be very careful about the plugin API functions that you call here because
ClosePlugin() can also be called by Hollywood versions that are older than the one you
requested in your InitPlugin() implementation. See InitPlugin for a detailed description of this issue.