fix brainfart

This commit is contained in:
vyzo
2021-12-23 15:36:28 +02:00
parent 0ca5ac15d9
commit 39e351882b

View File

@@ -115,7 +115,7 @@ func (r *ResourceManager) OpenConnection(dir network.Direction, usefd bool) (net
}
if err := conn.AddFD(1); err != nil {
conn.RemoveStream(dir)
conn.RemoveConn(dir)
return nil, err
}