aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/connect.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/connect.lua b/net/connect.lua
index f2c932f9..d85afcff 100644
--- a/net/connect.lua
+++ b/net/connect.lua
@@ -91,6 +91,7 @@ function pending_connection_listeners.ondisconnect(conn, reason)
return;
end
p.conns[conn] = nil;
+ pending_connections_map[conn] = nil;
p.last_error = reason or "unknown reason";
p:log("debug", "Connection attempt failed: %s", p.last_error);
if p.connected then