Changeset

1992:bbaba17537a9

componentmanager: Added a FIXME comment.
author Waqas Hussain <waqas20@gmail.com>
date Sun, 18 Oct 2009 03:08:41 +0500
parents 1991:ed4cd15bf4dd
children 1993:09621f8d0366
files core/componentmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/componentmanager.lua	Sun Oct 18 03:07:25 2009 +0500
+++ b/core/componentmanager.lua	Sun Oct 18 03:08:41 2009 +0500
@@ -123,7 +123,7 @@
 			components[host] = default_component_handler;
 		else
 			-- Component not in config, or disabled, remove
-			hosts[host] = nil;
+			hosts[host] = nil; -- FIXME do proper unload of all modules and other cleanup before removing
 			components[host] = nil;
 		end
 		-- remove from disco_items