mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
It'll be okay to use LibAliasDetachHandlers() here, relying
on the fact that all handlers come from modules' bss and are followed by NODIR handler.
This commit is contained in:
parent
de5ea6b65e
commit
ec5df3a7b1
1 changed files with 1 additions and 1 deletions
|
|
@ -1722,7 +1722,7 @@ LibAliasUnLoadAllModule(void)
|
|||
|
||||
/* Unload all modules then reload everything. */
|
||||
while ((p = first_handler()) != NULL) {
|
||||
detach_handler(p);
|
||||
LibAliasDetachHandlers(p);
|
||||
}
|
||||
while ((t = walk_dll_chain()) != NULL) {
|
||||
dlclose(t->handle);
|
||||
|
|
|
|||
Loading…
Reference in a new issue