componentmanager: Unload mod_tls for components before removing them.

Sun, 18 Oct 2009 03:07:25 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sun, 18 Oct 2009 03:07:25 +0500
changeset 1991
ed4cd15bf4dd
parent 1990
b7fff80908b6
child 1992
bbaba17537a9

componentmanager: Unload mod_tls for components before removing them.

core/componentmanager.lua file | annotate | diff | comparison | revisions
--- 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];

mercurial