1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 04:37:40 +00:00

CSocket: Also call on_connected for local socket connections

This commit is contained in:
Robin Burchell 2019-07-16 13:17:23 +02:00 committed by Andreas Kling
parent 14b2f90920
commit e922db68d8

View file

@ -92,6 +92,8 @@ bool CSocket::connect(const CSocketAddress& address)
} }
m_connected = true; m_connected = true;
if (on_connected)
on_connected();
return true; return true;
} }