net.xmppcomponent_listener: Don't handle stream errors from component sessions that have already been destroyed
--- a/net/xmppcomponent_listener.lua Sun Mar 14 03:03:02 2010 +0000
+++ b/net/xmppcomponent_listener.lua Sun Mar 14 03:04:04 2010 +0000
@@ -37,6 +37,7 @@
local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams";
function stream_callbacks.error(session, error, data, data2)
+ if session.destroyed then return; end
log("warn", "Error processing component stream: "..tostring(error));
if error == "no-stream" then
session:close("invalid-namespace");