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:
Gleb Smirnoff 2013-12-25 09:43:51 +00:00
parent de5ea6b65e
commit ec5df3a7b1

View File

@ -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);