1
Fork 0
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:
Andreas Kling 2021-11-29 17:29:23 +01:00
parent 314a687eeb
commit 6cb3092b42
3 changed files with 5 additions and 10 deletions

View file

@ -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();
}