From e922db68d8ef5c3af00252da4b8e92b77ac0f6ad Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Tue, 16 Jul 2019 13:17:23 +0200 Subject: [PATCH] CSocket: Also call on_connected for local socket connections --- Libraries/LibCore/CSocket.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Libraries/LibCore/CSocket.cpp b/Libraries/LibCore/CSocket.cpp index ff424ea7a7..1768fa6255 100644 --- a/Libraries/LibCore/CSocket.cpp +++ b/Libraries/LibCore/CSocket.cpp @@ -92,6 +92,8 @@ bool CSocket::connect(const CSocketAddress& address) } m_connected = true; + if (on_connected) + on_connected(); return true; }