mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
LibCore: close socket on LocalServer dtor
This commit is contained in:
committed by
Andreas Kling
parent
9150f3c266
commit
d9470bdae7
@@ -45,6 +45,8 @@ LocalServer::LocalServer(Object* parent)
|
||||
|
||||
LocalServer::~LocalServer()
|
||||
{
|
||||
if (m_fd >= 0)
|
||||
::close(m_fd);
|
||||
}
|
||||
|
||||
bool LocalServer::take_over_from_system_server()
|
||||
|
||||
Reference in New Issue
Block a user