Kernel: Remove redundant socket_by_tuple removal in ~TCPSocket()
This commit is contained in:
parent
3bd7f5b89e
commit
626507943c
Notes:
sideshowbarker
2024-07-17 21:31:32 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/626507943c0
1 changed files with 0 additions and 4 deletions
|
@ -160,10 +160,6 @@ TCPSocket::TCPSocket(int protocol, NonnullOwnPtr<DoubleBuffer> receive_buffer, N
|
|||
|
||||
TCPSocket::~TCPSocket()
|
||||
{
|
||||
sockets_by_tuple().with_exclusive([&](auto& table) {
|
||||
table.remove(tuple());
|
||||
});
|
||||
|
||||
dequeue_for_retransmit();
|
||||
|
||||
dbgln_if(TCP_SOCKET_DEBUG, "~TCPSocket in state {}", to_string(state()));
|
||||
|
|
Loading…
Add table
Reference in a new issue