diff --git a/Libraries/LibIPC/ClientConnection.h b/Libraries/LibIPC/ClientConnection.h index f3675c1ff4..ed7a76ee31 100644 --- a/Libraries/LibIPC/ClientConnection.h +++ b/Libraries/LibIPC/ClientConnection.h @@ -208,8 +208,10 @@ protected: void event(Core::Event& event) override { if (event.type() == Event::Disconnected) { +#ifdef IPC_DEBUG int client_id = static_cast(event).client_id(); dbg() << *this << ": Client disconnected: " << client_id; +#endif die(); return; }