mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
LibIPC: Only start responsiveness timer after sending client a message
Instead of always running the responsiveness timer for IPC clients, we now only start it after sending a message. This avoids waking up otherwise idle clients to do ping/pong busywork.
This commit is contained in:
parent
47df0cbbc8
commit
4ab1b0b436
3 changed files with 13 additions and 2 deletions
|
@ -89,6 +89,7 @@ private:
|
|||
// ^ClientConnection
|
||||
virtual void die() override;
|
||||
virtual void may_have_become_unresponsive() override;
|
||||
virtual void did_become_responsive() override;
|
||||
|
||||
void set_unresponsive(bool);
|
||||
void destroy_window(Window&, Vector<i32>& destroyed_window_ids);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue