aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/componentmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua
index 308dea57..96b78bf2 100644
--- a/core/componentmanager.lua
+++ b/core/componentmanager.lua
@@ -104,6 +104,7 @@ end
function deregister_component(host)
if components[host] then
modulemanager.unload(host, "dialback");
+ host.connected = nil;
local host_config = configmanager.getconfig()[host];
if host_config and ((host_config.core.enabled == nil or host_config.core.enabled) and type(host_config.core.component_module) == "string") then
-- Set default handler