mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:47:45 +00:00
LibIPC: Silence some debug spam
This commit is contained in:
parent
e3782a7f99
commit
b273b31c7d
1 changed files with 2 additions and 0 deletions
|
@ -208,8 +208,10 @@ protected:
|
||||||
void event(Core::Event& event) override
|
void event(Core::Event& event) override
|
||||||
{
|
{
|
||||||
if (event.type() == Event::Disconnected) {
|
if (event.type() == Event::Disconnected) {
|
||||||
|
#ifdef IPC_DEBUG
|
||||||
int client_id = static_cast<const DisconnectedEvent&>(event).client_id();
|
int client_id = static_cast<const DisconnectedEvent&>(event).client_id();
|
||||||
dbg() << *this << ": Client disconnected: " << client_id;
|
dbg() << *this << ": Client disconnected: " << client_id;
|
||||||
|
#endif
|
||||||
die();
|
die();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue