summaryrefslogtreecommitdiff
path: root/src/remote.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-01-27 19:53:17 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-01-27 19:53:17 +0000
commita6d14cecbe1f78802bc22b8a0ad633bc24aab2fc (patch)
treef500c43404138e5ea0c9e79567f3dce63334dcd4 /src/remote.hh
parentbbf48e1d39d34b02c54f7b5104b0ff17dff3d7b5 (diff)
Remove session socket on error signal
Diffstat (limited to 'src/remote.hh')
-rw-r--r--src/remote.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remote.hh b/src/remote.hh
index 309770da..4682b3d3 100644
--- a/src/remote.hh
+++ b/src/remote.hh
@@ -36,6 +36,8 @@ struct Server : public Singleton<Server>
~Server();
const String& session() const { return m_session; }
+ void close_session();
+
private:
String m_session;
std::unique_ptr<FDWatcher> m_listener;