Unload
From TrillWiki
This is sent whenever the plugin must unload from memory. Do any last minute cleanups here. Most of the processing should be stopped in the stop notification.
Compatibility: 1.0 and higher
Contents |
Syntax
plugin_main("unload", NULL);
Note that all Trillian functions and notifications begin with a lower-case letter, despite the Wiki requirement that all pages start with a capital letter.
Parameters
Unload utilitizes the NONE structure.
There is no structure used for this function or notification. For functions, the parameter passed to plugin_send should be a NULL. For notifications, the 'data' field may still contain a parameter, but it will not be a structure; if so, it will be detailed below.
Return Value
Must return 0.
Remarks
None.
See also: finalUnload
