|
@@ -354,6 +354,9 @@ Dhcpv4Srv::~Dhcpv4Srv() {
|
|
// The lease manager was instantiated during DHCPv4Srv configuration,
|
|
// The lease manager was instantiated during DHCPv4Srv configuration,
|
|
// so we should clean up after ourselves.
|
|
// so we should clean up after ourselves.
|
|
LeaseMgrFactory::destroy();
|
|
LeaseMgrFactory::destroy();
|
|
|
|
+
|
|
|
|
+ // Explicitly unload hooks
|
|
|
|
+ HooksManager::getHooksManager().unloadLibraries();
|
|
}
|
|
}
|
|
|
|
|
|
void
|
|
void
|