summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
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();