mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-15 20:24:46 +00:00
WindowServer: Close accepted sockets when the client has disconnected.
This commit is contained in:
@@ -49,6 +49,8 @@ WSClientConnection::WSClientConnection(int fd)
|
||||
WSClientConnection::~WSClientConnection()
|
||||
{
|
||||
s_connections->remove(m_client_id);
|
||||
int rc = close(m_fd);
|
||||
ASSERT(rc == 0);
|
||||
}
|
||||
|
||||
void WSClientConnection::post_error(const String& error_message)
|
||||
|
||||
Reference in New Issue
Block a user