LibCore: close socket on LocalServer dtor

This commit is contained in:
Muhammad Zahalqa 2020-08-08 15:54:22 +03:00 committed by Andreas Kling
parent 9150f3c266
commit d9470bdae7
Notes: sideshowbarker 2024-07-19 04:08:21 +09:00

View file

@ -45,6 +45,8 @@ LocalServer::LocalServer(Object* parent)
LocalServer::~LocalServer()
{
if (m_fd >= 0)
::close(m_fd);
}
bool LocalServer::take_over_from_system_server()