mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
LibCore: Convert CLocalSocket to ObjectPtr
This commit is contained in:
parent
4298ba25c3
commit
c83da29a9d
13 changed files with 83 additions and 79 deletions
|
@ -30,7 +30,7 @@ WSEventLoop::WSEventLoop()
|
|||
m_server_sock.listen("/tmp/wsportal");
|
||||
|
||||
m_server_sock.on_ready_to_accept = [this] {
|
||||
auto* client_socket = m_server_sock.accept();
|
||||
auto client_socket = m_server_sock.accept();
|
||||
if (!client_socket) {
|
||||
dbg() << "WindowServer: accept failed.";
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue