LibIPC: Add Connection::is_open()

This will allow clients to see if the IPC socket is still open.
This commit is contained in:
Gunnar Beutner 2021-07-15 21:15:59 +10:00 committed by Andreas Kling
commit e331ef7057
Notes: sideshowbarker 2024-07-18 08:49:53 +09:00

View file

@ -132,6 +132,8 @@ public:
virtual void die() { }
bool is_open() const { return m_socket->is_open(); }
protected:
Core::LocalSocket& socket() { return *m_socket; }