mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
deinit() function is now checked and saved when loading module. Unloading
modules that had module_deinit() function (not module_core_deinit()) wasn't called before. Also, error message wasn't printed if module didn't have the _core part and wasn't really irssi module. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1882 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
373fad3ced
commit
388d2e1f44
2 changed files with 15 additions and 17 deletions
|
|
@ -36,6 +36,7 @@ typedef struct {
|
|||
MODULE_REC *root;
|
||||
char *name;
|
||||
char *defined_module_name;
|
||||
void (*module_deinit) (void);
|
||||
|
||||
#ifdef HAVE_GMODULE
|
||||
GModule *gmodule; /* static, if NULL */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue