aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-18 03:08:41 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-18 03:08:41 +0500
commitf0ea8af0774e647581c8a3357bc66b29fcee3d06 (patch)
tree2098d29144c3f1f669d507b698099891adeed1b4
parent54a8f8c07a676cb6814f514510a8f6368f243db5 (diff)
downloadprosody-f0ea8af0774e647581c8a3357bc66b29fcee3d06.tar.gz
prosody-f0ea8af0774e647581c8a3357bc66b29fcee3d06.zip
componentmanager: Added a FIXME comment.
-rw-r--r--core/componentmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua
index c6d1af9e..833b1fc0 100644
--- a/core/componentmanager.lua
+++ b/core/componentmanager.lua
@@ -123,7 +123,7 @@ function deregister_component(host)
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