make sure we delete update's commands from NeoStats when unloading!
This commit is contained in:
parent
9203dd001f
commit
ac21a270cc
1 changed files with 4 additions and 0 deletions
|
@ -371,6 +371,10 @@ int ModFini( void )
|
||||||
updateinfo *item;
|
updateinfo *item;
|
||||||
|
|
||||||
SET_SEGV_LOCATION();
|
SET_SEGV_LOCATION();
|
||||||
|
del_services_set_list(update_settings);
|
||||||
|
del_services_cmd_list(update_cmds);
|
||||||
|
|
||||||
|
|
||||||
hash_scan_begin(&scan, availableupdates);
|
hash_scan_begin(&scan, availableupdates);
|
||||||
while ( ( node = hash_scan_next (&scan)) != NULL) {
|
while ( ( node = hash_scan_next (&scan)) != NULL) {
|
||||||
item = hnode_get(node);
|
item = hnode_get(node);
|
||||||
|
|
Reference in a new issue