mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:37:44 +00:00
WebContent: Remove unnecessary client map
WebContent processes only serve a single client, so we don't need to keep a map of them.
This commit is contained in:
parent
314a687eeb
commit
6cb3092b42
3 changed files with 5 additions and 10 deletions
|
@ -22,6 +22,6 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
auto socket = TRY(Core::LocalSocket::take_over_accepted_socket_from_system_server());
|
||||
IPC::new_client_connection<WebContent::ClientConnection>(move(socket), 1);
|
||||
auto client = IPC::new_client_connection<WebContent::ClientConnection>(move(socket));
|
||||
return event_loop.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue