mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-09 18:05:50 +00:00
16a008db75
if the connection is already closed (because the remote closes during identfiy for example), an exception would be raised which would leave the connection in limbo, beacuse it would not go through the rest of internalConnect. Also, if the connection is already closed, the disconnect event would be scheduled before the connect event :/