Diff

core/hostmanager.lua @ 8561:7b9ffddc4276

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 06 Mar 2018 01:45:58 +0100
parent 8555:4f0f5b49bb03
parent 8559:d5d746e4c453
child 11505:61d38c4b749d
line wrap: on
line diff
--- a/core/hostmanager.lua	Sat Mar 03 20:55:46 2018 +0100
+++ b/core/hostmanager.lua	Tue Mar 06 01:45:58 2018 +0100
@@ -84,6 +84,9 @@
 		send = host_send;
 		modules = {};
 	};
+	function host_session:close(reason)
+		log("debug", "Attempt to close host session %s with reason: %s", self.host, reason);
+	end
 	setmetatable(host_session, host_mt);
 	if not host_config.component_module then -- host
 		host_session.type = "local";