summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-02 00:06:20 +0000
committerDavid Robillard <d@drobilla.net>2015-10-02 00:06:20 +0000
commitc2d083a0a904072f0ec5c067cdea45147301e5a2 (patch)
treeee7b4131ddc9657d6b11f80b7f8eff42b977fac3 /ingen
parent736546bfd97580e31297e8e000f188366a8afc09 (diff)
downloadingen-c2d083a0a904072f0ec5c067cdea45147301e5a2.tar.gz
ingen-c2d083a0a904072f0ec5c067cdea45147301e5a2.tar.bz2
ingen-c2d083a0a904072f0ec5c067cdea45147301e5a2.zip
Unregister socket clients on hangup.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5735 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen')
-rw-r--r--ingen/SocketReader.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ingen/SocketReader.hpp b/ingen/SocketReader.hpp
index 88d24994..4baf4696 100644
--- a/ingen/SocketReader.hpp
+++ b/ingen/SocketReader.hpp
@@ -36,7 +36,10 @@ public:
Interface& iface,
SPtr<Raul::Socket> sock);
- ~SocketReader();
+ virtual ~SocketReader();
+
+protected:
+ virtual void on_hangup() {}
private:
void run();