1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:57:44 +00:00

WindowServer: Remove some old commented-out code.

This commit is contained in:
Andreas Kling 2019-03-21 17:22:29 +01:00
parent 796bc56a13
commit 1484a9eabd

View file

@ -249,12 +249,6 @@ void WSMessageLoop::notify_client_disconnected(int client_id)
void WSMessageLoop::on_receive_from_client(int client_id, const WSAPI_ClientMessage& message)
{
#if 0
// FIXME: This should not be necessary.. why is this necessary?
while (!running())
sched_yield();
#endif
WSClientConnection& client = *WSClientConnection::from_client_id(client_id);
switch (message.type) {
case WSAPI_ClientMessage::Type::Greeting: