# HG changeset patch # User Waqas Hussain # Date 1255817245 -18000 # Node ID ed4cd15bf4dd6427f355623c60f7e16cc5c30ee8 # Parent b7fff80908b653d92411360b36de066163c75333 componentmanager: Unload mod_tls for components before removing them. diff -r b7fff80908b6 -r ed4cd15bf4dd core/componentmanager.lua --- a/core/componentmanager.lua Sun Oct 18 01:52:37 2009 +0500 +++ b/core/componentmanager.lua Sun Oct 18 03:07:25 2009 +0500 @@ -114,6 +114,7 @@ function deregister_component(host) if components[host] then + modulemanager.unload(host, "tls"); modulemanager.unload(host, "dialback"); hosts[host].connected = nil; local host_config = configmanager.getconfig()[host];