Skip to content

Commit

Permalink
chore: remove invalid assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ckerr committed Nov 14, 2023
1 parent 4ed4d43 commit 52645d6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions utp_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2502,11 +2502,6 @@ UTPSocket::~UTPSocket()
ctx->last_utp_socket = NULL;
}

// The `utp_sockets` container owned this socket.
// This destructor is invoked when the socket is removed from `utp_sockets`,
// so confirm that it's been removed.
assert(!ctx->utp_sockets.contains(UTPSocketKey{ addr, conn_id_recv }));

// remove the socket from ack_sockets if it was there also
removeSocketFromAckList(this);

Expand Down

0 comments on commit 52645d6

Please sign in to comment.