mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
LibIPC: Add Connection::is_open()
This will allow clients to see if the IPC socket is still open.
This commit is contained in:
parent
b77b631571
commit
e331ef7057
Notes:
sideshowbarker
2024-07-18 08:49:53 +09:00
Author: https://github.com/gunnarbeutner
Commit: e331ef7057
Pull-request: https://github.com/SerenityOS/serenity/pull/8636
Issue: https://github.com/SerenityOS/serenity/issues/8628
Issue: https://github.com/SerenityOS/serenity/issues/8630
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/timmot
1 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,8 @@ public:
|
|||
|
||||
virtual void die() { }
|
||||
|
||||
bool is_open() const { return m_socket->is_open(); }
|
||||
|
||||
protected:
|
||||
Core::LocalSocket& socket() { return *m_socket; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue