mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
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: 626507943c
1 changed files with 0 additions and 4 deletions
|
@ -160,10 +160,6 @@ TCPSocket::TCPSocket(int protocol, NonnullOwnPtr<DoubleBuffer> receive_buffer, N
|
||||||
|
|
||||||
TCPSocket::~TCPSocket()
|
TCPSocket::~TCPSocket()
|
||||||
{
|
{
|
||||||
sockets_by_tuple().with_exclusive([&](auto& table) {
|
|
||||||
table.remove(tuple());
|
|
||||||
});
|
|
||||||
|
|
||||||
dequeue_for_retransmit();
|
dequeue_for_retransmit();
|
||||||
|
|
||||||
dbgln_if(TCP_SOCKET_DEBUG, "~TCPSocket in state {}", to_string(state()));
|
dbgln_if(TCP_SOCKET_DEBUG, "~TCPSocket in state {}", to_string(state()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue