1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

LibIPC: Silence some debug spam

This commit is contained in:
Andreas Kling 2020-06-22 21:39:44 +02:00
parent e3782a7f99
commit b273b31c7d

View file

@ -208,8 +208,10 @@ protected:
void event(Core::Event& event) override
{
if (event.type() == Event::Disconnected) {
#ifdef IPC_DEBUG
int client_id = static_cast<const DisconnectedEvent&>(event).client_id();
dbg() << *this << ": Client disconnected: " << client_id;
#endif
die();
return;
}