aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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