CSocket: Also call on_connected for local socket connections
This commit is contained in:
parent
14b2f90920
commit
e922db68d8
Notes:
sideshowbarker
2024-07-19 13:14:51 +09:00
Author: https://github.com/rburchell Commit: https://github.com/SerenityOS/serenity/commit/e922db68d8e Pull-request: https://github.com/SerenityOS/serenity/pull/314 Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ bool CSocket::connect(const CSocketAddress& address)
|
|||
}
|
||||
|
||||
m_connected = true;
|
||||
if (on_connected)
|
||||
on_connected();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue