Diff

core/componentmanager.lua @ 1992:bbaba17537a9

componentmanager: Added a FIXME comment.
author Waqas Hussain <waqas20@gmail.com>
date Sun, 18 Oct 2009 03:08:41 +0500
parent 1991:ed4cd15bf4dd
child 2075:b4bfa6cb3d83
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